diff options
author | Ben Pfaff <blp@nicira.com> | 2010-04-27 09:35:45 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-04-27 09:35:45 -0700 |
commit | 9cad684489e19b10019b5ae045decfb8f1311772 (patch) | |
tree | 127bfef0128de2d899db8f4e96169d10d3478cb4 /xenserver | |
parent | e7eacf16f52a69d73afbdfda62d2d181282fbdf4 (diff) |
xenserver: Use daemon-specific dir for pidfile in /etc/init.d/openvswitch.
Reported-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'xenserver')
-rwxr-xr-x | xenserver/etc_init.d_openvswitch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index bf7ae4e8a..24d82261f 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 |