mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-09 19:20:41 +03:00
Revert "reapply other RPM fixes from prior PR (service file updates and systemd path exclusions)"
This reverts commit 0eb0152437
.
This commit is contained in:
parent
0eb0152437
commit
fcd00547aa
@ -95,9 +95,6 @@ if(UNIX)
|
|||||||
COMMAND tr \n \;
|
COMMAND tr \n \;
|
||||||
OUTPUT_VARIABLE CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
|
OUTPUT_VARIABLE CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
|
||||||
ERROR_QUIET)
|
ERROR_QUIET)
|
||||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib")
|
|
||||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib/systemd")
|
|
||||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib/systemd/system")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
@ -16,11 +16,8 @@ Restart=on-failure
|
|||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
ProtectHome=yes
|
ProtectHome=yes
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
ReadOnlyPaths=/
|
ReadOnlyDirectories=/
|
||||||
ReadWritePaths=-@DIR@/softether/vpnserver
|
ReadWriteDirectories=-@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]
|
||||||
|
Loading…
Reference in New Issue
Block a user