forked from pool/xrootd
* Update to version 5.7.0. * Add xrootd-find-gtest.patch: Add `find_package` snippet to CMakeLists.txt to avoid linking issues when building tests (we do not, but still this fixes the cmake config for when we might). * Add new BuildRequires to build additional libraries and plugins: OBS-URL: https://build.opensuse.org/request/show/1186244 OBS-URL: https://build.opensuse.org/package/show/science/xrootd?expand=0&rev=87
28 lines
863 B
Diff
28 lines
863 B
Diff
Index: xrootd-5.6.1/packaging/common/xrootd@.service
|
|
===================================================================
|
|
--- xrootd-5.6.1.orig/packaging/common/xrootd@.service
|
|
+++ xrootd-5.6.1/packaging/common/xrootd@.service
|
|
@@ -6,14 +6,14 @@ Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
-#PrivateDevices=true
|
|
-#ProtectHostname=true
|
|
-#ProtectClock=true
|
|
-#ProtectKernelTunables=true
|
|
-#ProtectKernelModules=true
|
|
-#ProtectKernelLogs=true
|
|
-#ProtectControlGroups=true
|
|
-#RestrictRealtime=true
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
ExecStart=/usr/bin/xrootd -l /var/log/xrootd/xrootd.log -c /etc/xrootd/xrootd-%i.cfg -k fifo -s /run/xrootd/xrootd-%i.pid -n %i
|
|
User=xrootd
|
|
Group=xrootd
|