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