Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
add right for conf.pm in codebase (#10097)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjaouen committed Sep 9, 2021
1 parent 0b654fc commit 93e0fbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions www/install/steps/process/configFileSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
$contents = file_get_contents('../../var/configFilePmTemplate');
$contents = preg_replace($patterns, $replacements, $contents);
file_put_contents($centreonConfPmFile, $contents);
chmod($centreonConfPmFile, 0660);
chown($centreonConfPmFile, 'centreon');
chgrp($centreonConfPmFile, 'centreon');

// specific additional mandatory parameters used by Gorgone.d in a full ZMQ mode
array_push(
Expand Down

0 comments on commit 93e0fbf

Please sign in to comment.