[Gllug] Starting a daemon

Andy Millar andy at andymillar.co.uk
Thu Dec 30 14:09:47 UTC 2010


On Thu, 2010-12-30 at 14:01 +0000, Lucian wrote:
> On Thu, Dec 30, 2010 at 12:40 PM, t.clarke <tim at seacon.co.uk> wrote:
> `setsid program` might work as well.

#!/bin/bash
cd /
/path/to/program </dev/null >/dev/null 2>/dev/null &
disown

Andy


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list