Last active
April 6, 2016 15:16
-
-
Save juliangut/e0ee557ad7e28a209b5470aa41f3cbe2 to your computer and use it in GitHub Desktop.
upstart service template
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 "service_description" | |
author "Julián Gutiérrez - http://juliangut.com" | |
# Events | |
start on startup | |
stop on shutdown | |
# Automatically Respawn | |
respawn | |
# Run the script! | |
exec your_command >> /var/log/project_folder/service_name.log 2>> /var/log/project_folder/service_name_err.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment