summarylogtreecommitdiffstats
path: root/softethervpn-server.service
blob: 87706aad779295c76d531c82c4a2e647bc73027d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[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