File tree Expand file tree Collapse file tree 14 files changed +14
-14
lines changed Expand file tree Collapse file tree 14 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- /usr/sbin/cron -f
3
+ exec /usr/sbin/cron -f
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- pkill smokeping.cgi
3
+ echo " Fcgi- smokeping service stopped at $( date ) "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- env -i PATH=' /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' /usr/bin/spawn-fcgi -n -P /var/run/fcgiwrap.pid -F ' 1' -s ' /var/run/smokeping.socket' -u ' www-data' -U ' www-data' -g ' www-data' -G ' www-data' -- /usr/lib/cgi-bin/smokeping.cgi
3
+ exec env -i PATH=' /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' /usr/bin/spawn-fcgi -n -P /var/run/fcgiwrap.pid -F ' 1' -s ' /var/run/smokeping.socket' -u ' www-data' -U ' www-data' -g ' www-data' -G ' www-data' -- /usr/lib/cgi-bin/smokeping.cgi
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- pkill fcgiwrap
3
+ echo " Fcgiwrap service stopped at $( date ) "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- env -i PATH=' /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' /usr/bin/spawn-fcgi -n -P /var/run/fcgiwrap.pid -F ' 1' -s ' /var/run/fcgiwrap.socket' -u ' www-data' -U ' www-data' -g ' www-data' -G ' www-data' -- /usr/sbin/fcgiwrap -f
3
+ exec env -i PATH=' /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' /usr/bin/spawn-fcgi -n -P /var/run/fcgiwrap.pid -F ' 1' -s ' /var/run/fcgiwrap.socket' -u ' www-data' -U ' www-data' -g ' www-data' -G ' www-data' -- /usr/sbin/fcgiwrap -f
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- pkill icinga
3
+ echo " Icinga service stopped at $( date ) "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- /usr/sbin/icinga /etc/icinga/icinga.cfg
3
+ exec /usr/sbin/icinga /etc/icinga/icinga.cfg
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- ps faux | grep perl. * munin-nod[e] | awk ' {print $2} ' | xargs kill
3
+ echo " Munin-node service stopped at $( date ) "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- /usr/bin/perl -wT /usr/sbin/munin-node
3
+ exec /usr/bin/perl -wT /usr/sbin/munin-node
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- /etc/init.d/nginx stop
3
+ echo " Nginx service stopped at $( date ) "
You can’t perform that action at this time.
0 commit comments