Skip to content

Instantly share code, notes, and snippets.

@maticrivo
Created August 20, 2015 11:35
Show Gist options
  • Save maticrivo/f542dc1ca2600a2d9b37 to your computer and use it in GitHub Desktop.
Save maticrivo/f542dc1ca2600a2d9b37 to your computer and use it in GitHub Desktop.
example for simple /etc/init/ service in ubuntu
description "EXAMPLE"
author "Matias Crivlotti <[email protected]>"
start on runlevel [2345]
stop on runlevel [!2345]
script
exec <command to execute>
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment