Skip to content

Commit 024c778

Browse files
author
Till Brehm
committed
Fixed #4679 Certbot not working with itk-apache
1 parent 0fbdb18 commit 024c778

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

install/lib/installer_base.lib.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2354,11 +2354,9 @@ public function install_ispconfig() {
23542354
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
23552355
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
23562356

2357-
//* Chmod the files and directories in the acme dir with nginx installed
2358-
if($conf['nginx']['installed'] == true) {
2359-
$command = 'chmod -R 755 '.$install_dir.'/interface/acme';
2360-
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
2361-
}
2357+
//* Chmod the files and directories in the acme dir
2358+
$command = 'chmod -R 755 '.$install_dir.'/interface/acme';
2359+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
23622360

23632361
//* chown the server files to the root user and group
23642362
$command = 'chown -R root:root '.$install_dir.'/server';

0 commit comments

Comments
 (0)