Post by @mcc@mastodon.social
Okay so.
I'm apparently not allowed to use apache2ctl anymore. It confuses systemd.
apache2ctl had a command named "graceful". This would, instead of hard rebooting the server, attempt to cleanly exit the server when all files currently being served were done being served, then restart it.
Can systemd restart be configured to do this? Will systemd restart somehow do this by default?
$ sudo systemctl reload apache2
apache2.service is not active, cannot reload
LENNART, I THINK YOU'LL FIND THAT'S IN FACT THE EASIEST TIME TO RELOAD?!?
@mcc@mastodon.social i don't understand, doesn't the "reload" target just tell the running apache2 to reload its configuration? what would you expect it to do if apache isn't running?
@linear (what i wanted is "get the system running with the new configuration, with the minimum disruption to service")