diff --git a/examples/node-upstart.conf b/examples/node-upstart.conf index 2f6cd42..0a42a3d 100644 --- a/examples/node-upstart.conf +++ b/examples/node-upstart.conf @@ -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 --chdir /home/node/apps --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