[systemd-devel] Support for pre-restart check

Mantas Mikulėnas grawity at gmail.com
Thu Jul 31 04:30:50 PDT 2014


On Jul 31, 2014 12:57 PM, "Reindl Harald" <h.reindl at thelounge.net> wrote:
> Am 31.07.2014 um 02:16 schrieb Colin Guthrie:
> > Reindl Harald wrote on 30/07/14 13:34:
> >> *how* should that both help in calling "apachectl -t" *before* stop the
> >> service and in case of a error-repsonse keep it running?
> >
> > Note, just for clarity, you don't really want to run such a config test
> > when explicitly stopping a service
>
> i do want that in case it ends in a state where i can't start it
afterwards
> "systemctl stop X && rsync data....; systemctl start X" and go to a
coffee is
> not that uncommon

What if the configuration is fine in the beginning, but another admin
breaks it while your rsync is running?

-- 
Mantas Mikulėnas <grawity at gmail.com>
// sent from phone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140731/86ed05f6/attachment.html>


More information about the systemd-devel mailing list