[18:38] <bn_work> hi, I know upstart has kinda been abandoned but does anyone know of a good guide that talks about how to migrate an older SysV style init script to Upstart?  I have looked at the official docs (http://upstart.ubuntu.com/cookbook/) and random blog posts (ex: https://coderwall.com/p/rt0qmg/upstart-a-builtin-alternative-to-god-and-monit , https://nnc3.com/mags/LM10/Magazine/Archive/2007/76/062-068_upstart/article.html)
[18:38] <bn_work> but haven't seen any real good documentation on how to "translate" to the "new model"
[18:39] <bn_work> (note, this is on a Ubuntu 14.04 LTS box which I'm not too keen on upgrading yet)
[18:44] <hallyn> shouldn't 14.04 already be upstart?
[18:44] <hallyn> the cookbook is the best guide i know of, i'm afraid
[18:44] <hallyn> but it shouldn't be hard.  upstart scripts were easy to write
[18:45] <bn_work> hallyn: it  is already upstart but I have software on it that only provides a SysV init script
[18:46] <hallyn> ok yeah, just look atthe existing scripts, shoudl be pretty clear how to convert.
[18:46] <bn_work> hallyn: there is http://upstart.ubuntu.com/cookbook/#migration-from-system-v-initialization-scripts but it talks nothing about migration
[18:46] <bn_work> uh... not really?

[18:47] <hallyn> whch part is causing trouble?
[18:47] <bn_work> I was hoping there some kind of table showing how to map the concepts from one to the other?
[18:48] <bn_work> an upstart (.conf?) file (job?) isn't a shell script anymore, correct?
[18:48] <hallyn> right
[18:48] <hallyn> it has 'start on / stop on' for ordering, 'pre-start script' 'script' etc which can be shellscripts  (inline) for running,
[18:48] <bn_work> I mean honestly the vendor should be doing this but they have no clue, so I'm trying to kinda point them to the right resources
[18:48] <hallyn> and the 'expect daemon' or whatever for tracking init
[18:49] <hallyn> it doesn't really map bc waht you'd be mapping from is kind of free-form :)
[18:49] <bn_work> `expect daemon`?
[18:49] <hallyn> http://upstart.ubuntu.com/cookbook/#expect
[18:49] <bn_work> yeah, but most init scripts have a basic structure in terms of supporting params like start/stop/status/restart
[18:50] <hallyn> best is if  you can run the software sothat it just runs in the foreground,
[18:51] <hallyn> anyway let's see, maybe someone else here knows of a better guide along the lines of what you want
[18:56] <bn_work> ok, just read the entry on `expect [fork|daemon|stop]`
[19:00] <bn_work> if it's of any help, the source script I'm trying to adapt is at http://www.reprisesoftware.com/RLM_Enduser.html (under "Starting the rlm server at system boot time on Unix systems")
[19:01] <bn_work> seems it supports start/stop