Change steth agent running user

Change agent running user from "neutron" to "root".

Change-Id: I6c2b399eee905d71e93de3a6d8521d1d92d310ff
This commit is contained in:
changzhi1990 2016-03-09 16:24:04 +08:00
parent f993ea7082
commit 73b9255014
1 changed files with 2 additions and 2 deletions

View File

@ -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