I would recommend not deploying this script as-is.

Using "and" in a "start on" condition links the two events, so neither
can complete until the other occurs, and links them to your service so
that neither can complete until your service starts.

In your script, this would link the "net-device-up IFACE=lo" event and
the "filesystem" event together, and to you your service.

Since these are also used by key services required to boot the system,
it's possible that tying them together would be a BAD THING.  One could
envision a scenario whereby the system wouldn't boot due to the service
not starting correctly.

The rc-sysinit script already uses these events, for now it might be
better to do "start on started rc-sysinit"

-- 
tgtd needs init script or upstart job
https://bugs.launchpad.net/bugs/574554
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to