Assume sudo privileges to restart apache.