/srv/irclogs.ubuntu.com/2016/05/02/#upstart.txt

=== JanC is now known as Guest37928
=== JanC_ is now known as JanC
[diablo]Good morning #upstart ... guys we have reason to believe that Upstart may well be killing a process... so we'd like to have detailed logs from upstart... sadly we're running RHEL6 so it's version 0.6.506:48
[diablo]does anyone know how the hell we can enable this please? I see on man init that there's --verbose on the boot line, but this does not give us any info that we can see06:49
chras[diablo]: iirc its --debug13:29
chrasbut you can also do initctl log-priority debug after the system is already running13:30
chrasbut that will just be upstart debug, not neccecerily your event/jobs debug13:30
=== Trevinho_ is now known as Trevinho
lll7hi!19:44
lll7https://github.com/KristinaEtc/go-nominatim/tree/master/daemons i wroted daemons for upstart, but when i run it in console (nsqd, for example) it's not closing correctly, just processing. why it could be so?19:44
chrasare you sure that your daemon is only a single fork ?20:09
chrasmight need expect daemon instead20:10
lll7:0 oh, i'm not sure. thank you for answer! starting search in google your words20:11
chrasimo20:11
chrasif you're controlling your own code, id suggest adding in some sort of --foreground option20:12
chrasthen you wouldnt need an expect at all20:12
lll7chras, like this? https://askubuntu.com/questions/52091/upstart-script-for-a-transmission-daemon-executed-as-a-normal-user20:14
lll7(my english and programming skills are not good. need to ask that)20:15
chrassec, reading20:15
chrasyeah sorta like that20:16
chrasif your program had a --foreground option then you wouldnt need any sort of 'expect' handling in upstart, as it would have direct control over the process's console20:17
lll7thank you, tomorrow i'll check it 20:17
lll7c:20:17
chrasthe expect fork / expect daemon is kinda kludgey20:17
chrasexpect fork expects that you do -exactly- 1 single fork20:17
chrasexpect daemon expects exactly 220:17
chrasdepending what you wrote your software in, it could be either20:18
lll7saved your words in file20:32
lll7going to sleep20:32
lll7thank you, thank you very much20:33
lll7good night :)20:33
chrasgood luck20:33

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!