"start on" and "stop on"
sebastian-plotz at web.de
Mon Jan 3 19:15:27 UTC 2011
Thank you for your answer!
But now there is a second question ...
If I shutdown my system, then the event "runlevel 0" is emitted. So some
jobs under /etc/init (for example hwclock-save.conf) will be executed
and some daemons (for example rsyslog.conf) will be stopped.
How can we make sure that all these jobs are done before the system
I'm asking because rc.conf gets executed at the same time as
hwclock-save.conf (and rsyslog will stopped at the same time as well).
Am Montag, den 03.01.2011, 18:54 +0000 schrieb Scott James Remnant:
> Assume that both operations proceed simultaneously (you may have two cores)
> If the *same job* specifies the same event in both "start on" and
> "stop on", then stop is processed before start so that the job is
> restarted on that event.
> On Mon, Jan 3, 2011 at 6:02 PM, Sebastian Plotz <sebastian-plotz at web.de> wrote:
> > Just a short question ...
> > If one job contains "start on runlevel " and another job "stop on
> > runlevel ". Which job will be processed first?
> > Will be the first job started before the second is stopped (or the other
> > way around)?
> > Thank you for your answer!
> > Sebastian
> > --
> > upstart-devel mailing list
> > upstart-devel at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
More information about the upstart-devel