mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
24 lines
373 B
Desktop File
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
|