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:45 |
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 | 05:46 |
=== JanC_ is now known as JanC | ||
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:35 |
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:36 |
SpamapS | :) | 16:37 |
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:39 |
SeveredCross | Bloody last-minute ideas will be the death of me. | 16:40 |
SpamapS | I call that a "learning opportunity" | 16:42 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!