start-stop-deamon, chdir: No such file or directory

Alper Aydemir alperaydemir at gmail.com
Wed Sep 16 16:29:45 UTC 2015


Hi,

I'm trying to execute a command from a directory in my upstart job
using start-stop-daemon and its chdir flag.

However I'm getting the "unable to chdir() to ... (No such file or directory)"

I do have this job config

start on local-filesystems
stop on shutdown

console log
respawn

...
script
    start-stop-daemon --start --chuid user -chdir /home/user/src/
--exec binary -- args
end script

which I thought means start after all local disks are mounted. Is it not?

thanks.



More information about the upstart-devel mailing list