mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Update softether-vpnserver.service files:
* change `ReadOnlyDirectories` -> `ReadOnlyPaths` and `ReadWriteDirectories` -> `ReadWritePaths` * add `ReadWritePaths` for other necessary directories (this should address #1111)
This commit is contained in:
1 parent
b64c15b097
commit
af84a30adc
1 file changed
+5
-2
@@ -16,8 +16,11 @@ Restart=on-failure
|
|||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
ProtectHome=yes
|
ProtectHome=yes
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
ReadOnlyDirectories=/
|
ReadOnlyPaths=/
|
||||||
ReadWriteDirectories=-@DIR@/softether/vpnserver
|
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
|
||||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYSLOG CAP_SETUID
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYSLOG CAP_SETUID
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in new issue
Block a user