Skip to content

Instantly share code, notes, and snippets.

@justizin
Created May 9, 2014 18:27
Show Gist options
  • Save justizin/c79f3ec31c4ee9ec414e to your computer and use it in GitHub Desktop.
Save justizin/c79f3ec31c4ee9ec414e to your computer and use it in GitHub Desktop.
example gmond collector init script
* template[/etc/init.d/ganglia-monitor-recappg] action create
- update content in file /etc/init.d/ganglia-monitor-recappg from 448aa0 to 25a103
--- /etc/init.d/ganglia-monitor-recappg 2014-04-13 22:05:09.328552956 +0000
+++ /tmp/chef-rendered-template20140509-3493-9lgb8d 2014-05-09 18:23:15.847457002 +0000
@@ -5,7 +5,7 @@
# Required-Stop: $network $named $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-### END INIT INFO
+### END INIT INFO
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/gmond
NAME=gmond-recappg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment