Caesar | Keybuk: in an Upstart world, what's most appropriate for something like Puppet to use to manipulate services? | 00:21 |
---|---|---|
Caesar | service, or invoke-rc.d? | 00:21 |
ion | start for starting, stop for stopping, status for querying status. | 00:22 |
ion | Or alternatively initctl start, initctl stop, initctl status (which do the same thing). | 00:23 |
Caesar | ion: that won't help for a system that has hybrid Upstart and legacy init scripts | 00:24 |
Caesar | But yes, for a fully Upstart world, I can see that being the case | 00:24 |
Caesar | Oh nice, they seem to work with non-upstart jobs as well | 00:26 |
Keybuk | http://news.opensuse.org/2010/03/25/opensuse-11-3-milestone-4-release/ | 01:23 |
* Keybuk laughs at libnih on OBS | 01:30 | |
Keybuk | "It duplicates much of glib for no (really) good reason." | 01:30 |
Keybuk | that's, seriously, the package description | 01:30 |
ion | Haha | 01:45 |
sadmac2 | http://en.wikipedia.org/wiki/Gobject | 03:09 |
sadmac2 | ^^ I love it when wikipedians find subtle ways to inject their opinion (see image) | 03:09 |
ion | Hehe | 03:09 |
=== pocek_ is now known as pocek | ||
=== Md_ is now known as Md | ||
=== Md is now known as Md_ | ||
=== Md_ is now known as Md | ||
corecode_ | hey | 18:56 |
corecode_ | i'm wondering what the correct way is to start upstart jobs from a debian postinst hook | 18:57 |
corecode_ | i'm using "start mytask", but that hangs | 18:57 |
ion | Let dh_installinit handle it. | 18:58 |
corecode_ | i'm on maemo, there is no dh_installinit that can deal with upstart | 18:58 |
corecode_ | at least as far as i can tell | 18:59 |
ion | I’d suggest cherrypicking the change from Ubuntu. | 18:59 |
corecode_ | not really under my control :/ | 18:59 |
ion | Patches attached to bug trackers tend to be effective. | 19:00 |
corecode_ | i wouldn't even know where to look | 19:01 |
corecode_ | so, until such a change is in place, how would i start an upstart job? | 19:01 |
ion | Ubuntu’s installinit adds ‘start JOB || :’ to postinst. The hang you’re encountering needs to be debugged, though. Probably an issue with some ‘start on’ relation blocking. | 19:06 |
corecode_ | oh meh. there is a "dh_installupstart" which is undocumented | 19:09 |
corecode_ | i just have "start on startup" | 19:11 |
ion | And there’s no other job that has e.g. ‘start on starting YOURJOB and SOMETHINGELSE’? | 19:15 |
corecode_ | no | 19:15 |
corecode_ | i think it also got started | 19:15 |
corecode_ | just start never returned | 19:15 |
corecode_ | very strange. | 19:23 |
corecode_ | start is running | 19:24 |
corecode_ | so, it will start it | 19:41 |
corecode_ | just it won't return | 19:41 |
=== pocek_ is now known as pocek |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!