Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk Onyx for Linux
- Plesk 12.5 for Linux
- Plesk 12.0 for Linux
- Plesk 11.0 for Linux
- Plesk 11.5 for Linux
- Plesk 10.4 for Linux/Unix
Question
How to enable Apache graceful restart in Plesk?
Answer
By default, Plesk does not use Apache graceful restart for applying new settings. As a result Apache will be restarted every time you change hosting settings through the Plesk GUI.
Note : that enabling graceful restart can lead to an unwanted websites downtime.
In order to enable graceful restart, add
restart_apache_gracefully
parameter with a
true
value to the
psa.misc
table:
-
Log in to the Plesk database:
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa
-
Apply the following MySQL query:
mysql> INSERT INTO misc VALUES ('restart_apache_gracefully', 'true');
コメント
0件のコメント
サインインしてコメントを残してください。