On Thu, 28 Jul 2016 14:37:41 -0400
David A. De Graaf wrote:

> Have I overlooked something obvious?  Is there a way to make systemd
> perform the simple function 'shutdown' smoothly, reliably and quickly?  
> If anyone knows how, I would love to hear it.

I can't make systemd itself work, but I've been using an
outside systemd solution for a while now: I setup
an alias for the "reboot" command that arranges to
kill off all the things systemd unreasonably waits
for, then does a real reboot.

Since systemd now has nothing to stop it, it reboots
rather fast (until something new shows up which I have
to track down and add to my list :-).

My current set of things to do before shutdown includes:

umount -l -t nfs -a
apachectl -k stop
kill all the "user deamon" process trees.

The user daemon stuff is handled by a program
described here:

http://tomhorsley.com/game/punch.html

Of course, since (according to the systemd biggest
myths page) systemd is easy to script and not at all
confusing, then it should be trivial for me to script
things so shutdown works this way automatically
without me having to remember to run my alias
in a terminal, but, alas, they don't appear to be
myths at all.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to