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.
This commit is contained in:
Hideki Saito committed 2015-06-04 19:34:02 -07:00
1 parent ff49706373
commit 0ec6ffcb73
3 files changed
+53

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
[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