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.

-- 
upstart-devel mailing list
upstart-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to