common script ?

Scott James Remnant scott at netsplit.com
Fri May 18 11:31:14 BST 2007


On Fri, 2007-05-04 at 01:49 +0200, Mildred wrote:

> In some upstart script I wrote, i have multiple script (for example
> post-start and pre-stop). I would like to be able to define variables
> for all those scripts at the same time. And why not define shell
> functions for all scripts.
> 
> So i would like to suggest a new section that can start for example
> with "common script" and that would be executed before each script. So
> I could merge common code.
> 
Wouldn't be difficult to implement, please propose it via a
specification.

        https://blueprints.launchpad.net/upstart
        http://upstart.ubuntu.com/wiki/ (use SpecTemplate)

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070518/f7c5e140/attachment.pgp 


More information about the upstart-devel mailing list