softethervpn/softethervpn-bridge.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 Bridge
2016-02-15 16:14:18 +09:00
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/vpnbridge start
2016-06-06 20:28:36 +09:00
ExecStop=/usr/bin/vpnbridge stop
Restart=on-failure
# Hardening
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
ReadOnlyDirectories=/
ReadWriteDirectories=-/usr/lib/softethervpn/vpnbridge
2016-02-15 16:14:18 +09:00
[Install]
WantedBy=multi-user.target