Created
September 30, 2011 08:49
-
-
Save iRyusa/1253143 to your computer and use it in GitHub Desktop.
Get Pidfile for nodeJS Script on Debian based distrib
This file contains hidden or 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
#!upstart | |
description "node_script" | |
author "nectity" | |
start on runlevel [23] | |
stop on shutdown | |
script | |
exec start-stop-daemon --start --make-pidfile --pidfile {node_script pid file} --exec {path_to_node} {path_to_node_script} 2>&1 >> {file_log} | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment