From 7bf9147f5d7ca764a705f18ccdc62886113e6e82 Mon Sep 17 00:00:00 2001 From: "Taihsiang Ho (tai271828)" Date: Tue, 8 Jan 2019 22:33:47 +0800 Subject: units:graphics: update xorg-process detection method --- units/graphics/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 40f7299..a8224ef 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -46,7 +46,7 @@ id: graphics/xorg-process requires: package.name == 'xorg' package.name == 'procps' -command: pgrep -f '/usr/bin/X' >/dev/null +command: pgrep -a -f '/usr/lib/xorg/Xorg' estimated_duration: 0.100 _description: Test that the X process is running. _summary: Test that the X process is running. -- cgit v1.2.3