nodejitsu/forever — Issue #232: --pidfile switch being ignored?
Author: sbabigian
Created: 2012-01-21 16:28:49+00:00
State: open

Node 0.6.7
Forever 0.8.5
CentOS 6.2

I'm trying to use the --pidfile switch and it's not working for me. The pidfile is always getting written to ~/.forever/pids/
It happens when running as root or a regular user.

I've tried both of these two commands with the same result:

`forever start -p /var/run/forever --pidfile /var/run/myapp.pid -a -d -l /var/log/myapp.log /var/www/myapp/myapp.js`

and

`forever start -p /var/run/forever -a -d -l /var/log/myapp.log /var/www/myapp/myapp.js`

Does order of switches/args matter at all?