gpm/gpm.service
kerongw 86604afb01 Add ExecStartPost option to gpm.service for solve error message when gpm service start
Signed-off-by: kerongw <wangkerong@h-partners.com>
(cherry picked from commit 41c1d9a338bf8b2f016009ec63fef6e1cb003695)
2022-09-06 17:36:37 +08:00

16 lines
401 B
Desktop File

[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]
ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2
Type=forking
PIDFile=/var/run/gpm.pid
ExecStartPost=/usr/bin/sleep 0.1
[Install]
WantedBy=multi-user.target