Skip to content
Snippets Groups Projects
Commit ad39c40e authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !10
parents 3e870afa d0765497
No related branches found
Tags v3.2.2
1 merge request!10Merging develop into main
Pipeline #783504 passed
......@@ -184,8 +184,12 @@ class Traefik {
$upd2 = $this->updateFile($traefikFile, Yaml::dump($this->defaultDockerCompose(), 9, 2));
if ($upd1 || $upd2) {
if ($user) {
$fs->chown($traefikConfigPath . '/certificates.toml', $user, TRUE);
$fs->chown($traefikFile, $user, TRUE);
if (file_exists($traefikConfigPath . '/certificates.toml')) {
$fs->chown($traefikConfigPath . '/certificates.toml', $user, TRUE);
}
if (file_exists($traefikFile)) {
$fs->chown($traefikFile, $user, TRUE);
}
}
$cwd = getcwd();
chdir($traefikPath);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment