Skip to content

Commit 72057a8

Browse files
author
Marius Burkard
committed
- webserver has to be restarted after letsencrypt updates
1 parent e3f2e5f commit 72057a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/lib/classes/cron.d/900-letsencrypt.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public function onRunJob() {
3737
global $app, $conf;
3838

3939
if(file_exists("/root/.local/share/letsencrypt/bin/letsencrypt")) {
40-
exec('/root/.local/share/letsencrypt/bin/letsencrypt renew');
40+
exec('/root/.local/share/letsencrypt/bin/letsencrypt -n renew');
41+
$app->services->restartServiceDelayed('httpd', 'reload');
4142
}
4243

4344
parent::onRunJob();

0 commit comments

Comments
 (0)