Question
-
How to enable/disable graceful restart for Apache in Plesk?
-
How to make Apache reload instead of restarting when applying settings in Plesk?
Answer
Note: Graceful restart for Apache is enabled by default on all new Plesk Obsidian installations.
Enabling/disabling graceful restart for Apache in Plesk Obsidian
-
Go to Tools & Settings > Apache Web Server.
-
Enable/disable the Apache graceful restart option and apply the changes.
Enabling/disabling graceful restart via a command-line interface
-
Connect to the Plesk server via SSH.
-
Run the following command:
-
To enable Apache graceful restart
# plesk bin settings --set restart_apache_gracefully=true
-
To disable Apache graceful restart
# plesk bin settings --set restart_apache_gracefully=false
-