diff options
author | Ilya Shipitsin <chipitsine@gmail.com> | 2021-08-16 14:06:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 14:06:34 +0300 |
commit | c01d8e60581219a1f6fe4e60ce72d41680720c8a (patch) | |
tree | 5fd882c71f56ef46b27f79e5763a676b7d86add3 /systemd | |
parent | d061abae8f4cf81da90962e6127f11bb3ee6585c (diff) |
Revert "RPM package and systemd service file fixes (for CentOS 8)"
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/softether-vpnserver.service | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/systemd/softether-vpnserver.service b/systemd/softether-vpnserver.service index 37adff98..15427ad6 100644 --- a/systemd/softether-vpnserver.service +++ b/systemd/softether-vpnserver.service @@ -16,11 +16,8 @@ Restart=on-failure PrivateTmp=yes ProtectHome=yes ProtectSystem=full -ReadOnlyPaths=/ -ReadWritePaths=-@DIR@/softether/vpnserver -ReadWritePaths=@CPACK_PACKAGING_INSTALL_PREFIX@/run/softether -ReadWritePaths=@CPACK_PACKAGING_INSTALL_PREFIX@/var/log/softether -ReadWritePaths=@CPACK_PACKAGING_INSTALL_PREFIX@/var/lib/softether +ReadOnlyDirectories=/ +ReadWriteDirectories=-@DIR@/softether/vpnserver CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYSLOG CAP_SETUID [Install] |