EtherGuard-VPN/example_config/systemd/etherguard-super.service

18 lines
415 B
SYSTEMD
Raw Normal View History

2021-11-16 08:45:07 +01:00
#/etc/systemd/system/etherguard-super.service
[Unit]
Description=Etherguard supernode
After=network.target
[Service]
User=root
Group=root
2021-12-07 21:39:19 +01:00
Type=notify
ExecStartPre=+mkdir -p /var/run/wireguard
#ExecStartPre=+chgrp etherguard /var/run/wireguard
2021-11-16 08:45:07 +01:00
#ExecStartPre=+chmod 775 /var/run/wireguard
ExecStart=etherguard-go -config /etc/eggo/super.yaml -mode super
2021-11-16 08:45:07 +01:00
Nice=5
[Install]
WantedBy=multi-user.target