[09:18] morning! [09:22] is there a reason why upstart 1.6.1 installs upstart-socket-bridge.conf but does not install upstart-udev-bridge.conf [09:23] btw upstart-udev-bridge is not compiled/installed either, could be a udev dependency problem ? [09:26] that was it, too bad the configure is not more verbose when it cannot find udev [11:07] hi [11:08] hava used an infinite task as a place holder for a multi-instance service [11:08] have 4 conf files svc.conf, svc-instance.conf, svc-stop-task.conf and svc-start-task.conf [11:09] so start and stop tasks are doing a loop around starting and stoping service instance with PORT being the instance variable [11:10] all works good and I can `/sbin/stop svc` and `/sbin/start svc`, but `/sbin/restart svc` doesn't affect anything [11:11] the stop and start task use `start on stopped svc` and `start on started svc` respectively [11:11] i'm happy to add svc-restart-task.conf, but don't know what to put in it ... [11:21] errordeveloper: http://upstart.ubuntu.com/cookbook/#restarting-jobs-with-complex-conditions ? [11:33] nevermind, I fixed it by using `start on {stopping,starting} svc` in the svc-{start,stop}-task.conf [11:35] so on restart of an infinite task you don't seem to get stopped->started, but you do get stopping->starting [11:35] :) === maco__ is now known as maco [15:50] hello all [15:50] I'm trying to undestand why i can stop/start my instance [15:50] but not restart [15:53] someone that could help me ' [16:10] noone? [16:21] vekexasia: did you read the cookbook about restart? can you please pastebin your job? [16:22] i read it not much about restart section is "for me" [16:23] http://paste.ubuntu.com/1452670/ [16:24] upstart start nodejs-instance FOLDERNAME="Example" [16:24] triggers pre-start and post-start [16:24] "stop" triggers pre-stop and post-stop [16:24] "restart" triggers only pre-stop and does not stop the instance at all [16:25] it's not a big deal i cannot restart my instances but i wanted to know if there's something i can do. [16:27] any idea xnox ? [16:36] ping xnox :) [16:37] vekexasia: change log priority to debug, start/stop your instance and then restart & compare the events / transitions. [16:37] http://upstart.ubuntu.com/cookbook/#change-the-log-priority [16:37] ok [16:38] vekexasia: i am not sure if post-stop is suppose to be run or not when doing "restart" [16:38] xnox I thought that too. Problem is instance is not getting stopped :( [16:40] sorry for the dumb question but /var/log/syslog is not reporting anything [16:40] am I looking in the wrong place? [16:41] should be correct place. [16:41] nothing is printed in there [16:41] neither with initctl log-priority debug [16:41] vekexasia: does restart work correctly without respawn? [16:41] well should i get something with start/stop in the log ? [16:42] cause even with start/stop i do not get anything [16:44] have you check dmesg / daemon.log as well? [16:44] nothing on dmesg [16:44] daemon.log [16:44] does not even exist [16:45] and no, it does not work even withouth respawn [18:39] xnox ? [18:39] still no luck