On 15-Jul-99 Carl Mummert wrote:
> 
> 
> IF you are using inetd, there is an option for which uid to use;
> the sytnax is
> 
>   port type type user {no}wait user command
> 
> 
> IF you don't use inetd, then you should use start-stop-daemon, which
> allows you to specify the user and group .  man start-stop-daemon


I put this in my /etc/init.d script:

start-stop-daemon --start --exec /path/to/executable

If I do this instead, can I start the app as user newt?

start-stop-daemon --start --exec $NEWT /path/to/executable  ?
        
Yes, I did read the man page, and I looked at other scripts in /etc/init.d


thanks

--
Andrew

Reply via email to