Change in vdsm[master]: init: add --pidfile option in vdsmd.service

mhuntxu at gmail.com mhuntxu at gmail.com
Wed Nov 13 12:38:50 UTC 2013


Hunt Xu has uploaded a new change for review.

Change subject: init: add --pidfile option in vdsmd.service
......................................................................

init: add --pidfile option in vdsmd.service

The pid file is not automatically created when using systemd. However
the file is still needed by vdsm/storage/protect/spmprotect.sh.

Change-Id: I2d8c5efd84d3838f54116d493ad7eac36ced68b4
Signed-off-by: huntxu <mhuntxu at gmail.com>
---
M init/systemd/vdsmd.service.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/22/21222/1

diff --git a/init/systemd/vdsmd.service.in b/init/systemd/vdsmd.service.in
index 94be97a..ed7f905 100644
--- a/init/systemd/vdsmd.service.in
+++ b/init/systemd/vdsmd.service.in
@@ -9,7 +9,7 @@
 LimitCORE=infinity
 EnvironmentFile=-/etc/sysconfig/vdsm
 ExecStartPre=@LIBEXECDIR@/vdsmd_init_common.sh --pre-start
-ExecStart=@VDSMDIR@/daemonAdapter -0 /dev/null -1 /dev/null -2 /dev/null "@VDSMDIR@/vdsm"
+ExecStart=@VDSMDIR@/daemonAdapter -0 /dev/null -1 /dev/null -2 /dev/null "@VDSMDIR@/vdsm" --pidfile=@VDSMRUNDIR@/vdsmd.pid
 ExecStopPost=@LIBEXECDIR@/vdsmd_init_common.sh --post-stop
 Restart=always
 Nice=-20


-- 
To view, visit http://gerrit.ovirt.org/21222
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d8c5efd84d3838f54116d493ad7eac36ced68b4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Hunt Xu <mhuntxu at gmail.com>


More information about the vdsm-patches mailing list