2021-11-29 15:50:24 +00:00
|
|
|
Index: triggerhappy-release-0.5.0/systemd/triggerhappy.service
|
|
|
|
|
===================================================================
|
|
|
|
|
--- triggerhappy-release-0.5.0.orig/systemd/triggerhappy.service
|
|
|
|
|
+++ triggerhappy-release-0.5.0/systemd/triggerhappy.service
|
|
|
|
|
@@ -3,6 +3,17 @@ Description=triggerhappy global hotkey d
|
|
|
|
|
After=local-fs.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
|
2022-07-22 20:25:05 +00:00
|
|
|
Type=notify
|
2021-11-29 15:50:24 +00:00
|
|
|
ExecStart=/usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
|
|
|
|
|
|