diff --git a/systemd/softether-vpnbridge.service b/systemd/softether-vpnbridge.service index 2f508820..4221b345 100644 --- a/systemd/softether-vpnbridge.service +++ b/systemd/softether-vpnbridge.service @@ -1,12 +1,12 @@ [Unit] Description=SoftEther VPN Bridge After=network.target auditd.service -ConditionPathExists=!/opt/vpnbridge/do_not_run +ConditionPathExists=!/usr/vpnbridge/do_not_run [Service] Type=forking -ExecStart=/opt/vpnbridge/vpnbridge start -ExecStop=/opt/vpnbridge/vpnbridge stop +ExecStart=/usr/vpnbridge/vpnbridge start +ExecStop=/usr/vpnbridge/vpnbridge stop KillMode=process Restart=on-failure @@ -15,7 +15,7 @@ PrivateTmp=yes ProtectHome=yes ProtectSystem=full ReadOnlyDirectories=/ -ReadWriteDirectories=-/opt/vpnbridge +ReadWriteDirectories=-/usr/vpnbridge CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_ADMIN CAP_SETUID [Install]