summaryrefslogtreecommitdiff
path: root/gpm.service
diff options
context:
space:
mode:
Diffstat (limited to 'gpm.service')
-rw-r--r--gpm.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/gpm.service b/gpm.service
new file mode 100644
index 0000000..23007fc
--- /dev/null
+++ b/gpm.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Console Mouse manager
+ConditionVirtualization=!container
+
+# 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]
+ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2
+Type=forking
+PIDFile=/run/gpm.pid
+
+[Install]
+WantedBy=multi-user.target