[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting process in background

On Thu, Mar 02, 2000 at 03:53:45PM -0800, aphro wrote:
> whats the best way?  im running a icecast server and wanna set it to start
> on boot..
> what i got goin is..
> su icecast -c /usr/local/icecast/bin/icecast >/dev/null &
> BUT the problem is it segfaults when i have the & ..without the & its
> fine..i thought of doing screen but i cant figure out how to auto detach
> it after it loads..
> any ideas?? thanks :)

start-stop-daemon --start --nopid --chuid icecast --exec /usr/local/bin/icecast ?

note that --chuid is only available on potato versions of start-stop-daemon.

Ethan Benson

Reply to: