D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] running commands as daemons or detached processes

 

I take it nohup blocks the signals and "&" detaches the terminal?
 
anyway it works!
 
Cheers
 
Jody
(P.S. just installed qmail and removed sendmail sucessfully!!)



John Daragon <john@xxxxxxxxxx> wrote:
jody salt wrote:
> Hi,
>
> Is there a simple way to start a process as a daemon?? or make a process
> detach from my terminal, so it runs as a background process??
>
> Basically I want to run:
>
> "svscan /service"
> as a background process.
>
> I've added "svscan /service" to my inittab - however I would like to
> boot this process without restarting my server.
>
> I imagine this should be pretty simple linux thing to do!

Indeed it would.

$ nohup &

jd

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html


Win a BlackBerry device from O2 with Yahoo!. Enter now.