[14:57] so i have an upstart process that isn't killing all its children when we try to stop, what's the workaround? [15:17] smokes2345: sounds like a bug with the application upstart is running? [15:18] •jodh• don't think so. if upstart is sending the kill signal to all the child processes, they would quit normally [15:19] perhaps i didn't phrase the issue properly... [15:20] smokes2345: upstart kills the main job process and all the processes in that process group. [15:21] i have an x11 program i want to run as a service, its started with startx. when we try to stop the service, upstart kills startx, but none of its children are affected [15:24] i've tried using 'expect fork' and 'expect daemon', but upstart seems to end up monitoring a process that doesn't exist or dies soon after starting [15:32] smokes2345: so, the processes you are talking about must be in a different process group. Sounds like you have a rather custom setup: conventionally, you'd run the apps you care about as jobs in their own right. [15:34] I think smokes2345 probably doesn't need expect fork/daemon ? [15:37] •JanC• well, i didn't think so, but if i could get it to monitor more than 2 forks i could use 'expect' to solve my problem [15:38] •jodh• we are running an in-house x11 app, but it is started using very conventional methods. the upstart script starts x as a normal user using startx, startx then calls the users .xinitrc script which starts our app [15:39] smokes2345: what version of upstart are you using? Your life would be significantly easier if you were using a Session Init (http://upstart.ubuntu.com/cookbook/#session-init). [15:39] not quite sure about the version, although i'm sure it's not the latest and greatest. how can i get the version? [15:45] ah, upstart 0.6.4 [15:45] thats what initctl reports anyway [15:45] so session init is out of the question [15:51] •jodh• initctl reports upstart 0.6.4 [15:56] so i've tried a couple of variations of this http://superuser.com/questions/213416/running-upstart-jobs-as-unprivileged-users [15:56] but no joy [16:00] smokes2345: maybe you should not use startx to start X11 ? [16:02] •JanC• yeah, i'm trying xinit now [16:02] or maybe a simplistic DM [16:05] something like nodm [16:08] no need for a dm, looks like xinit will work fine