/srv/irclogs.ubuntu.com/2010/12/13/#upstart.txt

=== ev_ is now known as ev
davidstraussAm I correct to interpret the docs as saying the minimum for an upstart script is simply an "exec" line?22:51
ionThat’s optional, too.22:55
ionThe minimum job definition is an empty file.22:55
ionThere are a number of important use cases where a job doesn’t have a main process.22:56
davidstraussion, dependency routing?22:56
ionFor instance, something that changes the system state in some way in the pre-start script and changes it back in the post-stop script, such as /etc/init/apport.conf22:57
davidstraussion, One more question. What does this mean by "optional arguments to pass to it"? "exec gives the path to a binary on the filesystem and optional arguments to pass to it"22:59
ion% echo foo22:59
ionfoo22:59
davidstraussion, Should that instead say "and, optionally, arguments to pass to it"23:00
ion“foo” here is an argument. From Upstart’s point of view, all program arguments are optional.23:00
davidstraussion, Sure. I'm just trying to figure out if the doc is trying to say that (1) upstart manages optional arguments to an executable in some configurable way or (2) that upstart allows you to pass in arguments on the exec line23:01
ion223:02
davidstraussion, OK. Where can I file a request to revise the docs?23:02
ionAs a bug report on Launchpad, or as a merge request on Launchpad.23:02
davidstraussion, the getting started guide doesn't appear in the source branch; am i missing something?23:05
ionAh, i was thinking you were reading init(5) or something.23:05
davidstraussion, I'm reading this: http://upstart.ubuntu.com/getting-started.html23:06
ionI guess one could still report a bug against Upstart, since the web page is part of the project, kind of. Or bug Keybuk on IRC. :-)23:07
davidstraussion, https://bugs.launchpad.net/upstart/+bug/68993923:12

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