forked from pool/libvma
789a4a822c
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/923293 OBS-URL: https://build.opensuse.org/package/show/science:HPC/libvma?expand=0&rev=24
25 lines
790 B
Diff
25 lines
790 B
Diff
Index: libvma-9.3.1.0.47396f1a5eaa/contrib/scripts/vma.service.in
|
|
===================================================================
|
|
--- libvma-9.3.1.0.47396f1a5eaa.orig/contrib/scripts/vma.service.in
|
|
+++ libvma-9.3.1.0.47396f1a5eaa/contrib/scripts/vma.service.in
|
|
@@ -3,6 +3,19 @@ Description=VMA Daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=forking
|
|
Restart=on-failure
|
|
ExecStart=@prefix@/sbin/vmad
|