diff --git a/examples/node-upstart.conf b/examples/node-upstart.conf index 2f6cd42..53af0ca 100644 --- a/examples/node-upstart.conf +++ b/examples/node-upstart.conf @@ -14,7 +14,7 @@ stop on runlevel [06] # Create directories for logging and process management # Change ownership to the user running the process pre-start script - mkdir -p /var/opt/node +# mkdir -p /var/opt/node # DRY -p would create 'node', when it creates 'log' below, if either do not exist mkdir -p /var/opt/node/log mkdir -p /var/opt/node/run chown -R node:node /var/opt/node @@ -24,4 +24,4 @@ end script respawn # Start the process -exec start-stop-daemon --start --chuid node --make-pidfile --pidfile /var/opt/node/run/node-upstart.pid --exec /home/node/local/node/bin/node -- /home/node/apps/node-upstart.js >> /var/opt/node/log/node-upstart.log 2>&1 \ No newline at end of file +exec start-stop-daemon --start --chuid node --make-pidfile --pidfile /var/opt/node/run/node-upstart.pid --exec /home/node/local/node/bin/node -- /home/node/apps/node-upstart.js >> /var/opt/node/log/node-upstart.log 2>&1