[Nut-upsdev] Feedback and help in porting the NUT sysV init script to upstart
Arnaud Quette
aquette.dev at gmail.com
Fri Jul 18 21:09:30 UTC 2008
hi there,
first, kudos to Scott. You guy rock with this revolutionizing (and so logic)
idea ;-)
next, a personal point of view about the lack of upstream adoption of
upstart:
I wanted to provide an upstart script for NUT for some time, but never found
enough matching example to do so.
the embedded scripts only address inittab, and the replacement-initscripts
are unreachable (see below) and far too basic for being really helpful!
if you want a massive adoption, provide some "real world" examples for
upstreams, really ;-)
so, a mutual help in getting the NUT init script ported would both help you
and me. good deal ;-)
btwn I've included the upstart "support" in NUT 2.4 roadmap.
I've attached the original Debian NUT script, along with a lazy and drafty
port attempt.
note that I'm currently giving some reflexion cycles on optimizing NUT
integration wrt init (ex: no need to clean stop daemons upon standard
shutdown). feedback, comment and help welcome... I can also give some more
details of the problematic.
another point (possibly already addressed): you should also take a look at
the HAL replacement (DeviceKit) since it should (must?) somehow impact
upstart (at least through signaling), or improve it?!
I will soon post on the new dk mailing a proposition for the power
management. if you also have some feedback there...
last note, there is a broken link on
http://upstart.ubuntu.com/faq.html#example-jobs-what
should point?
https://code.edge.launchpad.net/~scott/upstart/replacement-initscripts
cheers,
Arnaud
--
Linux / Unix Expert R&D - MGE Office Protection Systems -
http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20080718/1cce6427/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut.init
Type: application/octet-stream
Size: 4332 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20080718/1cce6427/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut.upstart
Type: application/octet-stream
Size: 1340 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20080718/1cce6427/attachment-0001.obj
More information about the Nut-upsdev
mailing list