thank you for the RUN_AS_USER hint!
that's what I was feeling was missing :-)
while if I symlink it I fear that chkconfig --add will not work.
Cristiano
Il giorno , Brett Porter ha scritto:
Looks right. You may also want to specify the RUN_AS_USER environment
variable to run as a particula
Looks right. You may also want to specify the RUN_AS_USER environment variable
to run as a particular account.
Given what you have below, you might prefer to symlink the bin file to to
/etc/init.d/archiva rather than having a wrapper script.
- Brett
On 20/07/2011, at 12:09 AM, Cristiano Costan