mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
19 lines
369 B
SYSTEMD
19 lines
369 B
SYSTEMD
|
[Unit]
|
||
|
Description=SoftEther VPN Server
|
||
|
After=network.target auditd.service
|
||
|
ConditionPathExists=!/opt/vpnserver/do_not_run
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
EnvironmentFile=-/opt/vpnserver
|
||
|
ExecStart=/opt/vpnserver/vpnserver start
|
||
|
ExecStop=/opt/vpnserver/vpnserver stop
|
||
|
KillMode=process
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
Alias=softether-vpnserver.service
|
||
|
|
||
|
|