softethervpn/softethervpn-client.service

20 lines
349 B
SYSTEMD
Raw Normal View History

2016-02-15 16:14:18 +09:00
[Unit]
2016-06-06 20:28:36 +09:00
Description=SoftEther VPN Client
2016-02-15 16:14:18 +09:00
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/vpnclient start
2016-06-06 20:28:36 +09:00
ExecStop=/usr/bin/vpnclient stop
Restart=on-failure
# Hardening
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
ReadOnlyDirectories=/
ReadWriteDirectories=-/usr/lib/softethervpn/vpnclient
2016-02-15 16:14:18 +09:00
[Install]
WantedBy=multi-user.target