Commit 1a03a24b authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Change the default of the restart_cmd, to make it match the entry in visudo

parent 7c3d6c14
......@@ -106,7 +106,7 @@ function provision_apache_provision_configure($node = null) {
'#title' => t('Restart command'),
'#required' => TRUE,
'#description' => t('The command to run to restart the for new changes to take effect. This is required for the new site to become live'),
'#default_value' => ($node->restart_cmd) ? $node->restart_cmd : variable_get('provision_restart_cmd', 'sudo apachectl graceful'),
'#default_value' => ($node->restart_cmd) ? $node->restart_cmd : variable_get('provision_restart_cmd', 'sudo /usr/sbin/apachectl graceful'),
'#size' => 40,
'#maxlength' => 255,
'#weight' => -20,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment