[oe] [meta-oe][PATCH 2/5] gpm: Add PID file to systemd unit file
Robert Joslyn
robert.joslyn at redrectangle.org
Sun Apr 14 16:17:22 UTC 2019
This helps systemd identify the main process of the service.
Signed-off-by: Robert Joslyn <robert.joslyn at redrectangle.org>
---
meta-oe/recipes-support/gpm/gpm/gpm.service.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-support/gpm/gpm/gpm.service.in b/meta-oe/recipes-support/gpm/gpm/gpm.service.in
index ee6c040fa..5a6cadeb4 100644
--- a/meta-oe/recipes-support/gpm/gpm/gpm.service.in
+++ b/meta-oe/recipes-support/gpm/gpm/gpm.service.in
@@ -4,6 +4,7 @@ Description=Virtual console mouse server
[Service]
Type=forking
ExecStart=@bindir@/gpm -m /dev/input/mice -t imps2
+PIDFile=/run/gpm.pid
[Install]
WantedBy=multi-user.target
--
2.21.0
More information about the Openembedded-devel
mailing list