1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 02:49:52 +03:00
SoftEtherVPN/systemd/softether-vpnbridge.service
Hideki Saito 0ec6ffcb73
Systemd configuration files
Expects vpnserver/vpnclient/vpnbridge to be in /opt.
Having a file do_not_run within these directories inhibits launch of a respective module.
2015-06-04 19:34:02 -07:00

18 lines
337 B
Desktop File

[Unit]
Description=SoftEther VPN Bridge
After=network.target auditd.service
ConditionPathExists=!/opt/vpnbridge/do_not_run
[Service]
Type=forking
ExecStart=/opt/vpnbridge/vpnbridge start
ExecStop=/opt/vpnbridge/vpnbridge stop
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=softether-vpnserver.service