=== bradleyayers_ is now known as bradleyayers | ||
jY | is there anyway to tell upstart to send a HUP signal to a process to restart? | 18:58 |
---|---|---|
JanC | jY: why for restart instead of for reload? | 19:03 |
jY | JanC: i'm a upstart noob.. so i didn't know there was a reload | 19:04 |
JanC | jY: I was somewhat surprised; most people complain that right now "reload" can't use anything but SIGHUP ;) | 19:05 |
jY | we'll i'm happy if it can only do that | 19:06 |
JanC | anyway, you can read about the available commands in 'man initctl' | 19:07 |
JanC | also, see the cookbook mentioned in the /topic for lots of useful info & tips | 19:08 |
lucs | Meep. | 19:47 |
lucs | Just wanted to confirm that yes, "\" at the end of lines in "script/end script" sections does get passed correctly to sh, and thus we can have continuation lines like that. | 19:48 |
SpamapS | lucs: thanks for investigating. :) | 20:47 |
* lucs is now a happy camper with his nice readable scripts :) | 20:48 | |
JanC | SpamapS: it would have been a bug if it didn't work ;) | 20:48 |
SpamapS | totally | 20:48 |
SpamapS | I'm a little incredulous that anything requiring \'s is "readable" .. but to each his own | 20:49 |
JanC | also depends on the language used, I suppose | 20:49 |
lucs | Example of my "\" usage: http://paste.scsys.co.uk/183832 | 20:56 |
SpamapS | lucs: indeed, *that* is quite a bit more readable, and I hadn't thought about doing that. | 21:00 |
lucs | It makes code longer instead of wider, but like Steven Right, "I'm not afraid of heights, I'm afraid of widths." :) | 21:02 |
lucs | (explaining why he liked to walk his dog around the ledge of his apartment building) | 21:03 |
JanC | could also be useful with complex conditional statements in some languages | 21:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!