mynode/rootfs/standard/etc/systemd/system/vpn.service
2019-08-12 22:29:53 -05:00

24 lines
373 B
Desktop File

# myNode VPN Service
# /etc/systemd/system/vpn.service
[Unit]
Description=myNode VPN
Wants=mynode.service
After=mynode.service
[Service]
Type=simple
KillMode=control-group
TimeoutSec=60
Restart=always
RestartSec=30
ExecStart=/usr/bin/mynode_vpn.sh
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=vpn
[Install]
WantedBy=multi-user.target