Skip to content

Commit e5bfffb

Browse files
Abhinandan Prateekyadvr
authored andcommitted
CLOUDSTACK-9857: With this change if agent dies the systemd will catch it properly and show process as exited
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 6548839 commit e5bfffb

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

packaging/centos63/cloud-agent.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# chkconfig: 35 99 10
44
# description: Cloud Agent
5+
# pidfile: /var/run/cloudstack-agent.pid
56

67
# Licensed to the Apache Software Foundation (ASF) under one
78
# or more contributor license agreements. See the NOTICE file

packaging/centos7/cloud-agent.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# chkconfig: 35 99 10
44
# description: Cloud Agent
5+
# pidfile: /var/run/cloudstack-agent.pid
56

67
# Licensed to the Apache Software Foundation (ASF) under one
78
# or more contributor license agreements. See the NOTICE file

packaging/fedora20/cloud-agent.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# chkconfig: 35 99 10
44
# description: Cloud Agent
5+
# pidfile: /var/run/cloudstack-agent.pid
56

67
# Licensed to the Apache Software Foundation (ASF) under one
78
# or more contributor license agreements. See the NOTICE file

packaging/fedora21/cloud-agent.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# chkconfig: 35 99 10
44
# description: Cloud Agent
5+
# pidfile: /var/run/cloudstack-agent.pid
56

67
# Licensed to the Apache Software Foundation (ASF) under one
78
# or more contributor license agreements. See the NOTICE file

0 commit comments

Comments
 (0)