[18:38] 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] but haven't seen any real good documentation on how to "translate" to the "new model" [18:39] (note, this is on a Ubuntu 14.04 LTS box which I'm not too keen on upgrading yet) [18:44] shouldn't 14.04 already be upstart? [18:44] the cookbook is the best guide i know of, i'm afraid [18:44] but it shouldn't be hard. upstart scripts were easy to write [18:45] hallyn: it is already upstart but I have software on it that only provides a SysV init script [18:46] ok yeah, just look atthe existing scripts, shoudl be pretty clear how to convert. [18:46] hallyn: there is http://upstart.ubuntu.com/cookbook/#migration-from-system-v-initialization-scripts but it talks nothing about migration [18:46] uh... not really? [18:47] [18:47] whch part is causing trouble? [18:47] I was hoping there some kind of table showing how to map the concepts from one to the other? [18:48] an upstart (.conf?) file (job?) isn't a shell script anymore, correct? [18:48] right [18:48] it has 'start on / stop on' for ordering, 'pre-start script' 'script' etc which can be shellscripts (inline) for running, [18:48] 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] and the 'expect daemon' or whatever for tracking init [18:49] it doesn't really map bc waht you'd be mapping from is kind of free-form :) [18:49] `expect daemon`? [18:49] http://upstart.ubuntu.com/cookbook/#expect [18:49] yeah, but most init scripts have a basic structure in terms of supporting params like start/stop/status/restart [18:50] best is if you can run the software sothat it just runs in the foreground, [18:51] anyway let's see, maybe someone else here knows of a better guide along the lines of what you want [18:56] ok, just read the entry on `expect [fork|daemon|stop]` [19:00] 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] seems it supports start/stop