Skip to content

Commit 37bd82a

Browse files
ynojimaDaanHoogland
authored andcommitted
CLOUDSTACK-6571 bugfix: 'service cloudstack-agent stop' fails to stop the process started on boot
1 parent b6b25b1 commit 37bd82a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/centos63/cloud-agent.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
# set environment variables
2828

29-
SHORTNAME=`basename $0`
29+
SHORTNAME=$(basename $0 | sed -e 's/^[SK][0-9][0-9]//')
3030
PIDFILE=/var/run/"$SHORTNAME".pid
3131
LOCKFILE=/var/lock/subsys/"$SHORTNAME"
3232
LOGDIR=/var/log/cloudstack/agent

0 commit comments

Comments
 (0)