Gentoo Archives: gentoo-dev

From: Nahor <nahor@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] changing directory with start-stop-daemon
Date: Wed, 24 Mar 2004 22:48:28
Message-Id: c3t37o$tm4$1@sea.gmane.org
1 Hi,
2
3 I have a program that read it's configuration file in the current
4 directory and I want this program to be started as a service (IBM's
5 RaidAgnt for those who want know).
6
7 How can I change the current directory?
8
9 I tried putting a "cd <dir>" in the service script but that didn't
10 change anything. The program always runs in the filesystem root. And
11 since I don't have the source code, I can change its behavior.
12
13 Thanks,
14 Nahor
15
16
17 --
18 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] changing directory with start-stop-daemon John Nilsson <john@×××××××.nu>