Post by @linear@nya.social

mcc
@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?

Replying to @mcc@mastodon.social
mcc
@mcc @mastodon.social

$ 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?!?

Replying to @mcc@mastodon.social
linear cannon
@linear @nya.social
@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?
Replying to @linear@nya.social
mcc
@mcc @mastodon.social

@linear it appears there is a reload-or-restart which is what i actually wanted.

Replying to @mcc@mastodon.social
mcc
@mcc @mastodon.social

@linear (what i wanted is "get the system running with the new configuration, with the minimum disruption to service")