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