summaryrefslogtreecommitdiff
path: root/gpm.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:17:39 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:17:39 +0000
commit9d5165866832c84d122aefd4ecf4f244a58a1568 (patch)
tree2744509894b854661a2563e05a425bfd535f0e0e /gpm.service
parent38bccab72afcaa731ea88a9beb69caf667f31762 (diff)
automatic import of gpmopeneuler24.03_LTS
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