Skip to content

Commit 09d8e8a

Browse files
author
Till Brehm
committed
Merge branch 'nobootwait' into 'stable-3.1'
Replace deprecated nobootwait with nofail See merge request ispconfig/ispconfig3!1034
2 parents c3aaf16 + 9c1386e commit 09d8e8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ function update($event_name, $data) {
778778
$app->system->chmod($data['new']['document_root'].'/'.$log_folder, 0755);
779779
$app->system->exec_safe('mount --bind ? ?', '/var/log/ispconfig/httpd/'.$data['new']['domain'], $data['new']['document_root'].'/'.$log_folder);
780780
//* add mountpoint to fstab
781-
$fstab_line = '/var/log/ispconfig/httpd/'.$data['new']['domain'].' '.$data['new']['document_root'].'/'.$log_folder.' none bind,nobootwait';
781+
$fstab_line = '/var/log/ispconfig/httpd/'.$data['new']['domain'].' '.$data['new']['document_root'].'/'.$log_folder.' none bind,nofail';
782782
$fstab_line .= @($web_config['network_filesystem'] == 'y')?',_netdev 0 0':' 0 0';
783783
$app->system->replaceLine('/etc/fstab', $fstab_line, $fstab_line, 1, 1);
784784
}

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ function update($event_name, $data) {
619619
$app->system->chmod($data['new']['document_root'].'/'.$log_folder, 0755);
620620
$app->system->exec_safe('mount --bind ? ?', '/var/log/ispconfig/httpd/'.$data['new']['domain'], $data['new']['document_root'].'/'.$log_folder);
621621
//* add mountpoint to fstab
622-
$fstab_line = '/var/log/ispconfig/httpd/'.$data['new']['domain'].' '.$data['new']['document_root'].'/'.$log_folder.' none bind,nobootwait';
622+
$fstab_line = '/var/log/ispconfig/httpd/'.$data['new']['domain'].' '.$data['new']['document_root'].'/'.$log_folder.' none bind,nofail';
623623
$fstab_line .= @($web_config['network_filesystem'] == 'y')?',_netdev 0 0':' 0 0';
624624
$app->system->replaceLine('/etc/fstab', $fstab_line, $fstab_line, 1, 1);
625625
}

0 commit comments

Comments
 (0)