Change steth agent running user
Change agent running user from "neutron" to "root". Change-Id: I6c2b399eee905d71e93de3a6d8521d1d92d310ff
This commit is contained in:
parent
f993ea7082
commit
73b9255014
@ -3,7 +3,7 @@
|
|||||||
# steth OpenStack Software Defined Networking Debuging
|
# steth OpenStack Software Defined Networking Debuging
|
||||||
#
|
#
|
||||||
# chkconfig: - 98 02
|
# chkconfig: - 98 02
|
||||||
# description: neutron provides an API to \
|
# description: root provides an API to \
|
||||||
# * request and configure virtual networks
|
# * request and configure virtual networks
|
||||||
# Just for CentOS 6.5
|
# Just for CentOS 6.5
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
@ -22,7 +22,7 @@ lockfile=/var/lock/subsys/$prog-agent
|
|||||||
start() {
|
start() {
|
||||||
[ -x $exec ] || exit 5
|
[ -x $exec ] || exit 5
|
||||||
echo -n $"Starting $prog: "
|
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=$?
|
retval=$?
|
||||||
echo
|
echo
|
||||||
[ $retval -eq 0 ] && touch $lockfile
|
[ $retval -eq 0 ] && touch $lockfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user