mynode/rootfs/standard/etc/systemd/system/vpn.service

24 lines
373 B
SYSTEMD
Raw Normal View History

2019-08-13 03:29:53 +00:00
# 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