From: Ben Pfaff Date: Tue, 27 Apr 2010 16:35:45 +0000 (-0700) Subject: xenserver: Use daemon-specific dir for pidfile in /etc/init.d/openvswitch. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cad684489e19b10019b5ae045decfb8f1311772;p=openvswitch xenserver: Use daemon-specific dir for pidfile in /etc/init.d/openvswitch. Reported-by: Justin Pettit --- diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index bf7ae4e8..24d82261 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -202,7 +202,7 @@ function start_daemon { else local mode=production eval local pidfile=\$${DAEMON}_PIDFILE - install -d -m 755 -o root -g root `dirname $VSWITCHD_PIDFILE` + install -d -m 755 -o root -g root `dirname $pidfile` set -- "$@" --pidfile="$pidfile" --detach $monitor_opt --no-chdir fi