2013-10-29 13:22:04 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Console Mouse manager
|
|
|
|
|
|
|
|
# This could probably benefit from socket activation, but honestly I think it
|
|
|
|
# is time for gpm to go away, and hence I am not planning to spend the time
|
|
|
|
# to add socket activation here.
|
|
|
|
|
|
|
|
[Service]
|
2021-10-16 11:54:30 +02:00
|
|
|
# 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
|
2013-10-29 13:22:04 +01:00
|
|
|
EnvironmentFile=-/etc/sysconfig/mouse
|
|
|
|
ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/gpm.pid
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|