I would like to have a service start at boot, as a non-root user on Fedora 15.
I have placed the script into /etc/init.d/, used chkconfig –add and chkconfig –level to get it all set up and it is working correctly.
What do I need to do to have it launched as non-root?
Thank you!
Kate
If your current invocation of the service is:
then use ‘su’ or ‘sudo’ to change to a non-root user:
The double-dash is important to separate the ‘options to
sudo‘ from the ‘options to your service’.