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

Bug#192370: start-stop-daemon should have a chdir option



Package: dpkg
Version: 1.10.10
Severity: wishlist

Hi all,
when I use the start-stop-daemon, sometimes a problem
occured. I'd like to start a program in the background,
but also need a special directory.

In start-stop-daemon.c line 1240:
chdir("/");
the working directory is changed back to root.

So, I added workdir to the arguments and changed the line.

I need this patch especially for the --background option. 
Example: you can't start setiathome in background, or the workingfiles
         are in /.

Perhaps you like the idea for the original program.

greetings

Wolfgang



Reply to: