19 lines
349 B
Desktop File
19 lines
349 B
Desktop File
[Unit]
|
|
Description=SoftEther VPN Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/bin/vpnserver start
|
|
ExecStop=/usr/bin/vpnserver stop
|
|
Restart=on-failure
|
|
|
|
# Hardening
|
|
PrivateTmp=yes
|
|
ProtectHome=yes
|
|
ProtectSystem=full
|
|
ReadOnlyDirectories=/
|
|
ReadWriteDirectories=-/usr/lib/softethervpn/vpnserver
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|