Add ExecStartPost option to gpm.service for solve error message when gpm service start

Signed-off-by: kerongw <wangkerong@h-partners.com>
This commit is contained in:
kerongw 2022-09-06 03:35:42 +00:00 committed by Gitee
parent 742e23d5fc
commit 41c1d9a338
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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 ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2
Type=forking Type=forking
PIDFile=/var/run/gpm.pid PIDFile=/var/run/gpm.pid
ExecStartPost=/usr/bin/sleep 0.1
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -1,6 +1,6 @@
Name: gpm Name: gpm
Version: 1.20.7 Version: 1.20.7
Release: 25 Release: 26
Summary: The gpm package contains a mouse server for the console and xterm 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 License: GPLv2 and GPLv2+ with exceptions and GPLv3+ and Verbatim and Copyright only
URL: https://www.nico.schottelius.org/software/gpm/ URL: https://www.nico.schottelius.org/software/gpm/
@ -113,6 +113,9 @@ fi
%{_mandir}/man?/* %{_mandir}/man?/*
%changelog %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 * Wed Dec 22 2021 xingxing <xingxing9@huawei.com> - 1.20.7-25
- fix update error - fix update error