SpamapS | jodh: https://code.launchpad.net/~clint-fewbar/upstart-cookbook/clarify-complex-start-stop/+merge/90379 ... bump | 16:40 |
---|---|---|
jodh | SpamapS: merged! I tweaked the content a little so let me know if its still unclear. | 16:55 |
SpamapS | jodh: no, looks good. | 16:56 |
bencer | hi dudes, i'm writting upstart scripts for some packages we use in zentyal, like dansguardian, isc-dhcp-server, bind9, slapd, etc... i'm migrating all the features present on their current init.d scripts | 20:36 |
bencer | do you think we are still on time to upload these changes? would be anybody interested in sponsor the uploads? | 20:37 |
JanC | I can't sponsor anything, but would love to see more upstart jobs ☺ | 20:38 |
JanC | BTW: upstart jobs aren't "scripts" ;) | 20:39 |
bencer | they still have script magic between the script stanzas ;-) | 20:39 |
JanC | bencer: also, this is not really the place to ask for Ubuntu package sponsors (this is the upstream upstart channel) | 20:40 |
JanC | asking comments on your upstarts jobs is okay of course | 20:41 |
JanC | a good review by an upstart developer might help getting it into Ubuntu | 20:42 |
JanC | and yes, some upstart jobs contain script fragments | 20:43 |
bencer | what is the upstream suggestion on where to add things like mkdir /var/run/named , in the pre-start or in the script section? what's the recommended usage of each one? | 20:59 |
bencer | well, this is the approach i took: http://paste.ubuntu.com/833162/ | 21:05 |
JanC | bencer: pre-start exec/script is defined as “This process will be run after the job's starting(7) event has finished, but before the main process is run. It is typically used to prepare the environment, such as making necessary directories.” | 21:05 |
bencer | so according to that, the mkdir-like things, should go to the pre-start | 21:07 |
JanC | bencer: so I guess creating directories is best done in the pre-* part | 21:07 |
JanC | right | 21:07 |
bencer | that not what i saw in other upstart scripts :) but, okey | 21:08 |
JanC | except if there is a good reason to do it elsewhere ;) | 21:08 |
JanC | bencer: feel free to file bugs for those other *jobs*... | 21:09 |
bencer | ok, good, with that i will review what i did and i will file the bugs | 21:09 |
JanC | either those jobs or the manpage is wrong ;) | 21:10 |
JanC | (or there is some exception to the rule involved) | 21:10 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!