File harden_spacenavd.service.patch of Package spacenavd

diff -ur spacenavd-1.0.orig/contrib/systemd/spacenavd.service spacenavd-1.0/contrib/systemd/spacenavd.service
--- spacenavd-1.0.orig/contrib/systemd/spacenavd.service	2022-04-25 16:03:28.338795433 +0200
+++ spacenavd-1.0/contrib/systemd/spacenavd.service	2022-04-25 15:59:36.042588021 +0200
@@ -3,9 +3,20 @@
 After=syslog.target
 
 [Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
 Type=forking
 PIDFile=/run/spnavd.pid
 ExecStart=/usr/sbin/spacenavd
 StandardError=syslog
 
 [Install]
openSUSE Build Service is sponsored by