From e125fb0e4fce93862f61b5235aedacd1553ad40b Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 20 Jul 2016 16:36:15 +0100 Subject: [PATCH] systemd: remove hard-coded pid file in xendriverdomain service Per the discussion in [0], the hard-coded pid file can be removed completely. Systemd has no trouble figuring out the pid of devd all by itself. [0]: https://lists.xen.org/archives/html/xen-devel/2016-07/msg01393.html Signed-off-by: Wei Liu Acked-by: Ian Jackson --- tools/hotplug/Linux/systemd/xendriverdomain.service.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/hotplug/Linux/systemd/xendriverdomain.service.in b/tools/hotplug/Linux/systemd/xendriverdomain.service.in index 0afb54d4a5..c39ec04182 100644 --- a/tools/hotplug/Linux/systemd/xendriverdomain.service.in +++ b/tools/hotplug/Linux/systemd/xendriverdomain.service.in @@ -6,8 +6,7 @@ ConditionVirtualization=xen [Service] Type=forking -ExecStart=@sbindir@/xl devd --pidfile=/var/run/xldevd.pid -PIDFile=/var/run/xldevd.pid +ExecStart=@sbindir@/xl devd [Install] WantedBy=multi-user.target -- 2.30.2