Hi, I have a ridiculously simple upstart job, which hangs in similar ways as described in https://lists.ubuntu.com/archives/upstart-devel/2010-September/001328.html
So my question is, how do I use exec and get a variable sourced from a file in
/etc/defaults?
I think the job is pretty self explanatory:
start on runlevel [2345]
stop on [016]
expect fork
respawn
env DEFAULTFILE=/etc/default/nprobe
script
if [ -f "$DEFAULTFILE" ]; then
. "$DEFAULTFILE"
fi
exec nprobe -G $DAEMON_OPTS
end script
regards
Andrew
signature.asc
Description: Digital signature
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
