[05:45] <SeveredCross> Hey folks, is there a way I can diagnose why pre-start isn't being executed?
[05:45] <SeveredCross> I'm trying to execute an avahi-publish-service command, but I never see it run
[05:46] <SeveredCross> Also, is there a way to pull in environment variables from an external source?
[05:46] <SeveredCross> With an old-style init script, I'd just source some file from /etc/defaults or something
[16:35] <SpamapS> SeveredCross: one trick I've used is to set 'console output' and then in the pre-start do 'set -x' as the first line.. that will show you everything the pre-start is doing.
[16:36] <SeveredCross> I already figured it out, but thanks, I'll remember that next time
[16:36] <SeveredCross> I was just being terminally stupid and forgot to quote a variable.
[16:37] <SpamapS> :)
[16:39] <SeveredCross> That's what I get for trying to write a job for an init daemon that I've never even looked at at near midnight.
[16:40] <SeveredCross> Bloody last-minute ideas will be the death of me.
[16:42] <SpamapS> I call that a "learning opportunity"