mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6571 bugfix: 'service cloudstack-agent stop' fails to stop the process started on boot
This commit is contained in:
parent
bd3ec50dea
commit
4443890c85
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
# set environment variables
|
||||
|
||||
SHORTNAME=`basename $0`
|
||||
SHORTNAME=$(basename $0 | sed -e 's/^[SK][0-9][0-9]//')
|
||||
PIDFILE=/var/run/"$SHORTNAME".pid
|
||||
LOCKFILE=/var/lock/subsys/"$SHORTNAME"
|
||||
LOGDIR=/var/log/cloudstack/agent
|
||||
|
|
|
|||
Loading…
Reference in New Issue