From 73b925501464ab0eee25893c2150b46bf3572502 Mon Sep 17 00:00:00 2001 From: changzhi1990 Date: Wed, 9 Mar 2016 16:24:04 +0800 Subject: [PATCH] Change steth agent running user Change agent running user from "neutron" to "root". Change-Id: I6c2b399eee905d71e93de3a6d8521d1d92d310ff --- etc/init.d/steth-agent | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/init.d/steth-agent b/etc/init.d/steth-agent index 80710b4..7336826 100755 --- a/etc/init.d/steth-agent +++ b/etc/init.d/steth-agent @@ -3,7 +3,7 @@ # steth OpenStack Software Defined Networking Debuging # # chkconfig: - 98 02 -# description: neutron provides an API to \ +# description: root provides an API to \ # * request and configure virtual networks # Just for CentOS 6.5 ### END INIT INFO @@ -22,7 +22,7 @@ lockfile=/var/lock/subsys/$prog-agent start() { [ -x $exec ] || exit 5 echo -n $"Starting $prog: " - daemon --user neutron --pidfile $pidfile "$exec &>/dev/null & echo \$! > $pidfile" + daemon --user root --pidfile $pidfile "$exec &>/dev/null & echo \$! > $pidfile" retval=$? echo [ $retval -eq 0 ] && touch $lockfile