[13:15] hi [13:15] I am trying to create a new upstart job but I have problems how to add it, I copied the file in /etc/init and run initctl reload-configuration but the job still does not appear in the list, any ideas what is wrong? [14:04] ilian: reload-configuration is not needed [14:04] I have a script I need to run that effects the entire system... how do I get it to run as the very first task before any others in upstart? [14:04] ilian: and if it doesn't show up, there must be an error [14:04] *affect [14:05] effectively I want it to run right after init-bottom in the initrd, just after it runs init :P [14:07] maybe a bit of a hack, but you could add "--startup-event pre-startup" to the kernel commandline and add a job that starts on the 'pre-startup' event which does whatever you want to be done and when ready emits the 'startup' event (which is the default event emitted on boot, so it should start whatever would normally be started) [14:09] mm, looks like that might do it [14:10] BTW: de "pre-startup" is just something I made up, use whatever you want to call it [14:10] right [14:10] well, not whatever, make sure it's not the same as something used for other things ;) [14:10] if I do it like this, is there some other default startup script that I would be circumventing? [14:11] don't want to break anything... [14:11] by default the startup event is "startup" [14:11] oh, oh I see [14:12] that makes sense now, I thought "startup" refered to a script, but it's just an event [14:12] yep [14:12] I just gotta emit startup from my own script [14:12] cool [14:13] hm, I wonder if this trick is in the cookbook already [14:13] it's a nice hack [14:14] I feel like I'm trying to use upstart as System V init... [14:15] might be an indicator that something is wrong ;) [14:27] JanC, yes I found the error and fixed it, thanks ) [14:29] oh, aparantly upstart doesn't even use /usr/sbin/policy-rc.d [14:29] I figured it would, and that's why I was trying to delete the file pre-startup [14:29] guess I don't really have to? mmm [15:11] how can I split exec command arguments in several lines without getting "unknown stanza"