summarylogtreecommitdiffstats
path: root/gpm.service
diff options
context:
space:
mode:
authorJames P. Harvey2019-08-18 22:27:30 -0400
committerJames P. Harvey2019-08-18 23:09:19 -0400
commitb57d20780988b607b21b2bd1856e5fa5797b453c (patch)
tree8091b4cc51bcd9228477103f8539fcb792fca802 /gpm.service
downloadaur-b57d20780988b607b21b2bd1856e5fa5797b453c.tar.gz
Clone from core/gpm, and rename to gpm-vm.
Diffstat (limited to 'gpm.service')
-rw-r--r--gpm.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/gpm.service b/gpm.service
new file mode 100644
index 000000000000..6d4d403a7410
--- /dev/null
+++ b/gpm.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Virtual console mouse server
+Requires=systemd-udevd.service
+After=systemd-udevd.service
+ConditionPathExists=/dev/input/mice
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/gpm -m /dev/input/mice -t imps2
+
+[Install]
+WantedBy=multi-user.target