Merge pull request #7 from changzhi1990/stethoclient

Fix typo and change agent script's mode
This commit is contained in:
Damon.Wang 2016-01-07 11:48:54 +08:00
commit d2c06118e2
2 changed files with 7 additions and 0 deletions

6
etc/init.d/steth-agent → etc/init.d/stetho-agent Normal file → Executable file
View File

@ -20,6 +20,12 @@ logfile="/var/log/$prog/server.log"
lockfile=/var/lock/subsys/$prog-agent
start() {
if [ ! -d "/var/run/"$prog ]; then
mkdir "/var/run/"$prog
fi
if [ ! -f $pidfile ]; then
touch $pidfile
fi
[ -x $exec ] || exit 5
echo -n $"Starting $prog: "
daemon --user neutron --pidfile $pidfile "$exec & echo \$! > $pidfile"

View File

@ -2,3 +2,4 @@ jsonrpclib
netaddr
mock
cliff
oslo.config>=1.6.0