trinidad/trinidad_init_services — Issue #16: Can run without -user on Ubuntu 10.4
Author: deployingjruby
Created: 2012-02-22 16:14:00+00:00
State: open

when i run jsvc as `sudo -u myuser jsvc ...` i get this error:

set_caps: failed to set capabilities
check that your kernel supports capabilities
set_caps(CAPS) failed
Service exit with a return value of 4

If I run it like this `jsvc -user myuser ....` it works.

Unless there is something obvious i'm missing, i'd like to add the -user back in as an optional argument (even if it's just flipped on with an ENV var instead of through the config file or command-line).

Thoughts?

$ uname -a
Linux lucid64 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 x86_64 GNU/Linux

see also: https://github.com/trinidad/trinidad_init_services/pull/12