Created
August 20, 2015 11:35
-
-
Save maticrivo/f542dc1ca2600a2d9b37 to your computer and use it in GitHub Desktop.
example for simple /etc/init/ service in ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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