/srv/irclogs.ubuntu.com/2012/05/29/#upstart.txt

=== JanC_ is now known as JanC
jMCgtrafficserver start/killed, process 1209915:41
jMCgSoo... uhm.. why not restart it then, if it's killed?15:41
jMCgone would assume that trying to stop a killed job would be as easy as transitioning the status to stopped...15:43
tcrHi there! Is it possible (and if so, can you point me to the right direction), to make upstart grovels job files /etc/init/foo/*.conf as well?16:02
tylerflintanybody know where I can find the source code for this project?16:26
tylerflintsince ubuntu has stubbornly stated it will not be using systemd, and I'm sick of doing crap like this: initctl start my-process-reload16:27
tylerflintif I want to send a custom signal to my-process16:27
tylerflintbazaar!? are you kidding me?16:29
tylerflinthaha, thanks everyone, you've been helpful16:43
axisysis there a template I can use to convert this ugly redhat init script http://paste.ubuntu.com/1013541/ into a upstart?19:40
axisysi went through most of the /etc/init/*.conf files and got some idea.. but before I dive in, I like to hear some suggestion19:41
axisysi have written one upstart script for ssh tunnel with autossh.. so I have experience with upstart19:43
axisysthis devmon script is a while(1) loop perl script19:43
axisysdevmon: http://paste.ubuntu.com/1013590/19:45
axisysessentially I just want this devmon perl script to start and run forever19:52
axisysin solaris I have the init script lot simpler 19:53
axisyshttp://paste.ubuntu.com/1013601/19:53
axisysi probably should forget the redhat init script and start a upstart job (service) from scratch19:54
axisysok, I started with a very simple one.. but failing to start19:59
axisyshttp://paste.ubuntu.com/1013609/19:59
axisysdoh!20:00
axisysroot@xymon { /etc/init }$ cp devmon devmon.conf20:00
axisysroot@xymon { /etc/init }$ start devmon 20:00
axisysdevmon start/running, process 87720:00
axisys$ status devmon20:02
axisysdevmon stop/waiting20:02
axisyswhat gives?20:02
axisyshttp://paste.ubuntu.com/1013617/ <-- it does not survive20:04
axisysI get this log20:14
axisyshttp://paste.ubuntu.com/1013639/20:14
axisyswhen start devmon20:14
axisysbut it does not survive20:14

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