aboutsummaryrefslogtreecommitdiff
path: root/src/system/files/systemd/sys/wireguard.service
blob: 76a29681ab341b330132070f9169572f1f84787a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Wireguard
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
RemainAfterExit=true
User=root
ExecStart=/usr/bin/wg-quick up wg0
ExecStop=/usr/bin/wg-quick down wg0

[Install]
WantedBy=multi-user.target