[06:54] Hi! Can someone please help me with this question: http://askubuntu.com/questions/355223/limit-the-parallelisation-of-upstart [07:03] I just realized that my question is silly. If the jobs are daemons that never stop, then there is no way for Upstart to decide that they are done. [07:04] Instead, what I need is a way to limit by disk i/o. That is, when disk i/o is high, upstart shouldn't spawn new jobs. It should only spawn after disk activity cools down [09:09] hi [09:09] how do i log the output of my job run with upstart (it does not background) to syslog? [09:09] when i do exec myapp | logger -t myapp [09:09] it still ends up in /var/log/upstart/myapp [09:28] sneak: 'exec myapp 2>&1 | logger -t myapp' [10:41] jodh: i have exactly that [10:42] exec /usr/local/bin/nsqd -data-path=/var/lib/nsqd 2>&1 | logger -t nsqd [10:42] still getting output in /var/log/upstart/nsqd.log and nothing in syslog [10:43] it's very confusing [10:44] same with exec /bin/bash -c "/usr/local/bin/nsqd -data-path=/var/lib/nsqd 2>&1 | logger -t nsqd" [10:45] sneak: look at /proc//fd/. [10:46] 0 is /dev/null, 1 and 2 are /dev/pts/3 [10:47] thanks for your help, btw [10:49] echo "test" | logger -t nsqd shows up in my logs [10:58] hrm, it's not showing up in "initctl list" [10:59] i stopped doing "restart nsqd" and tried "stop nsqd" and "start nsqd" [10:59] i think i need to get upstart to notice my nsqd.conf [11:06] sneak: as sudo...? [11:06] sneak: sudo initctl list [11:06] sneak: sudo initctl reload-configuration [11:07] sneak: also try $ init-checkconf /etc/init/nsqd.conf [11:07] i got it to show up by removing a bunch of lines from the conf [11:07] i didn't know about init-checkconf [11:07] and now it's logging to syslog [11:07] i wonder which one did it [11:10] there really could be some better logging going on there. init-checkconf says syntax ok and upstart logs nothing [11:10] very confusing [11:11] sneak: hm, you didn't paste full job to us, so it's hard to tell what you had written up. [11:19] you're right, the program should have told me the error [11:19] that's why i didn't paste it [11:43] sneak: full contents of /etc/init/nsqd.conf that is [14:58] hey guys, I' [14:58] I'm defining a service in CentOS 6.4 with upstart 0.6.5 [14:58] but when I display the processes using ps [14:59] I see two processes instead of one, it seems that exec isn't working [15:01] https://gist.github.com/anonymous/76f54edea219eaf26889 === JanC_ is now known as JanC [20:22] heyo [20:24] can I use usual bash type commands in upstart? like "/usr/bin/foo -e $(baz -d)" [20:24] with bas -d returning something like "239je23d [20:24] so it expands to /usr/bin/foo -e 239je23d [22:18] jamescarr: yes.