On Tue, Aug 21, 2007 at 08:20:04AM -0400, Ralph Katz wrote:
> On 08/20/2007 03:00 PM, ArcticFox wrote:
> > Here's the situation; I have a program that needs to run at system
> > startup, but there are a few issues with that. First, it must be run
> > with a certain directory as the working directory. Second it must be run
> > as the user 'Fox'

man start-stop-daemon

specificically:

-c      Change to this username/uid before starting the process

-d      Chdir to path before starting the process.


Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to