Skip to content

Instantly share code, notes, and snippets.

@harleyholt
Created September 20, 2011 23:54
Show Gist options
  • Save harleyholt/1230767 to your computer and use it in GitHub Desktop.
Save harleyholt/1230767 to your computer and use it in GitHub Desktop.
gearmand mysql dependency; shows how to make the gearman deamon startup depend on mysql
### BEGIN INIT INFO
# Provides: gearman-job-server
# Required-Start: $network $remote_fs $syslog mysql
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable gearman job server
### END INIT INFO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment