Skip to content

Instantly share code, notes, and snippets.

@Telling
Created February 15, 2015 15:19
Show Gist options
  • Save Telling/6c20643304898cc05f79 to your computer and use it in GitHub Desktop.
Save Telling/6c20643304898cc05f79 to your computer and use it in GitHub Desktop.
Upstart script for bitlbee
# Bitlbee
description "Bitlbee startup script"
# When to start the service
start on runlevel [2345]
# When to stop the service
stop on runlevel [016]
# Automatically restart process if crashed
respawn
# Essentially lets upstart know the process will detach itself to the background
expect fork
# Start the process
exec /usr/local/sbin/bitlbee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment