On Friday, September 16, 2011 12:27:19 AM Michał Górny wrote:
> On Fri, 16 Sep 2011 00:13:15 +0200
> Joost Roeleveld <joost@××××××××.org> wrote:
> > I think systemd is nice for desktops/laptops. But on servers it seems
> > to be overkill to me and as I umount filesystems as part of my
> > backup-scripts, having something force-mount them in the background
> > is going to kill those scripts.
> > But this bit is off-topic.
> It's all about replacing 'umount' with 'systemctl stop'. But if you
> don't use automount, I don't think systemd will actually interfere.
That's something that needs to be looked into. I tell apache to switch to a
maintenance-page which is on a filesystem that doesn't get umounted. Then I
umount the websites for the backup.
The changes to the script would require more work. If openrc stays with a
classical init, then I will be happy.
Systemd is nice for desktops.
And systemctl will try to remount the filesystem when simply using umount: