xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] systemd: remove hard-coded pid file in xendriverdomain service
@ 2016-07-20 15:36 Wei Liu
  2016-08-02 13:41 ` Ian Jackson
  0 siblings, 1 reply; 4+ messages in thread
From: Wei Liu @ 2016-07-20 15:36 UTC (permalink / raw)
  To: Xen-devel; +Cc: Ian Jackson, Wei Liu, Rusty Bird

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 <wei.liu2@citrix.com>
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Rusty Bird <rustybird@openmailbox.org>
---
 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 c0cd454..85972b5 100644
--- a/tools/hotplug/Linux/systemd/xendriverdomain.service.in
+++ b/tools/hotplug/Linux/systemd/xendriverdomain.service.in
@@ -7,8 +7,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.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-02 17:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20 15:36 [PATCH] systemd: remove hard-coded pid file in xendriverdomain service Wei Liu
2016-08-02 13:41 ` Ian Jackson
2016-08-02 13:58   ` Wei Liu
2016-08-02 17:39     ` Rusty Bird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).