Stefan Kempf
a6ea55d16f
Process.kill to check for process is more portable.
...
On OpenBSD, you can only use getpgid(pid) if the calling process
belongs to the same session as the the process with the PID `pid'.
Otherwise getpgid() returns EPERM.
Using kill(0, pid) is a more portable way to check whether a process
exists.
2015-11-10 19:03:29 +01:00
Mike Perham
1ecb3a4083
Revert "Use Process.kill instead of kill
"
...
This reverts commit ccc70d2ee1
.
2015-11-01 11:13:48 -08:00
Elia Schito
ccc70d2ee1
Use Process.kill instead of kill
2015-08-06 11:07:43 +02:00
Mike Perham
136af0b5e2
Better usage text for sidekiqctl
2014-12-26 09:20:15 -08:00
Andrey Chernih
1b3c55a022
Print sidekiqctl usage
2014-03-13 21:17:11 +04:00
Mike Perham
efb624cc2f
Fix sidekiqctl pidfile issues, fixes #1490
2014-02-18 11:23:15 -08:00
Justin Mazzi
b044170542
Use non-successful exit code when something goes wrong
2013-01-07 16:17:29 -05:00
Mike Perham
713c519576
Helpful error messages are helpful
2012-05-03 15:36:05 -07:00
Mike Perham
e296201153
Die, pidfile, die!
2012-03-28 18:51:57 -07:00
James Miller
18322913b8
Make a class for sidekiqctl so we don't have to pass around ARGV stuff to every method
2012-03-28 10:40:46 -07:00
James Miller
dc06a550e4
Add quiet and stop in a single command (finish and exit)
2012-03-28 09:45:58 -07:00
Mike Perham
a62c775d20
Update capistrano recipe to use a custom ruby script, #95
2012-03-27 20:19:24 -07:00