[04:00] !ops [08:07] Hi I need a little help making my own upstart conf file. Is anybody active here now? === robbiew-afk is now known as robbiew [18:29] I'm trying to use upstart to launch x as me (directly instead of using xdm/etc), but i'm no sure what to put as started on, is there a state for "boot finished" or would i be better of finding out xorgs dependancies (HAL and filesystems?)? [19:28] hi guys, is there a way for me to specify a command to stop a job? [19:30] ilowe: I don't understand the question [19:30] sorry: I have a command that starts a process but I need to use a different command to shut it down gracefuuly [19:30] juergbi: depends on how your distro sets up upstart. [19:30] I don't want to have the process simply terminated by PID [19:31] ilowe: try putting it in pre-stop [19:31] will stop succeed even if the PID no longer exists? I mean, pre-killing it in pre-stop won't cause an isseu? [19:32] not entirely sure. I don't think it will be a disaster even if there is a little hiccup. [19:40] sadmac: killer! that worked perfectly! Thanks [19:40] ilowe: awesome [20:21] any ideas on how to respond to custom events? I want my job to start on runlevel 2 as well as when abitrary event "xyz" occurs (via emit) [20:22] I've tried adding "start on xyz" to my job but "initctl emit xyz" doesn't seem to start the job [20:26] ilowe: you had it right... dunno what the issue is [20:27] sorry, I was trying to put the two conditions on the same line with an "or" which wasn't working [20:27] ilowe: what version of upstart? [20:27] splitting them on two lines works beautifully [20:27] ilowe: that must be 0.3.x then [20:27] 0.3.9-8 [20:28] ilowe: yeah. in 0.6 you can't have multiple start on lines and have to use or. in 0.3 there's no or and you have to use multiple start on lines [20:30] is there a PPA build? I'm still on Jaunty on most of my servers. [20:48] how would I use instance jobs with events to start those jobs? I mean, I'd like to emit "xyz" and have a bunch of instances of a job start. [20:50] ilowe: not sure if you can in 0.3 [20:50] OK, how 'bout in 0.6? [20:51] if the environment from the event causes the instance's name to evaluate to something not used a new instance is born [20:54] ilowe, I use a task job to start instances. [20:55] Oh, .3 [20:55] wasabi: I can use 0.6 if I have to... I'm figuring out the upgrade path right now... [21:47] running 0.6 on jaunty isn't a good idea probably, so you would have to upgrade to karmic I think === sadmac_ is now known as sadmac_home === Md is now known as Guest92607 === Guest92607 is now known as Md