2021-11-16 08:45:07 +01:00
|
|
|
#/etc/systemd/system/etherguard-super.service
|
|
|
|
[Unit]
|
|
|
|
Description=Etherguard supernode
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-12-15 07:30:12 +01:00
|
|
|
User=root
|
|
|
|
Group=root
|
2021-12-07 21:39:19 +01:00
|
|
|
Type=notify
|
2021-12-15 07:30:12 +01:00
|
|
|
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
|
2021-12-15 07:30:12 +01:00
|
|
|
ExecStart=etherguard-go -config /etc/eggo/super.yaml -mode super
|
2021-11-16 08:45:07 +01:00
|
|
|
Nice=5
|
|
|
|
|
|
|
|
[Install]
|
2021-12-15 07:30:12 +01:00
|
|
|
WantedBy=multi-user.target
|