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)
This commit is contained in:
kerongw 2022-09-06 03:35:42 +00:00 committed by openeuler-sync-bot
parent 57656f0838
commit 86604afb01
2 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Description=Console Mouse manager
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

View File

@ -1,6 +1,6 @@
Name: gpm
Version: 1.20.7
Release: 25
Release: 26
Summary: The gpm package contains a mouse server for the console and xterm
License: GPLv2 and GPLv2+ with exceptions and GPLv3+ and Verbatim and Copyright only
URL: https://www.nico.schottelius.org/software/gpm/
@ -113,6 +113,9 @@ fi
%{_mandir}/man?/*
%changelog
* Tue Sep 06 2022 wangkerong <wangkerong@h-partners.com.com> - 1.20.7-26
- Add ExecStartPost option to gpm.service for solve error message when gpm service start
* Wed Dec 22 2021 xingxing <xingxing9@huawei.com> - 1.20.7-25
- fix update error