mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
Change rights after install
This commit is contained in:
parent
dcd186de24
commit
df858cf8a4
@ -9,8 +9,8 @@ function migrateConfigFromPmToJson() {
|
|||||||
/usr/bin/centreon_vmware_convert_config_file "$perl_config_file_path" > "$json_config_file_path"
|
/usr/bin/centreon_vmware_convert_config_file "$perl_config_file_path" > "$json_config_file_path"
|
||||||
mv "$perl_config_file_path" "${perl_config_file_path}.deprecated"
|
mv "$perl_config_file_path" "${perl_config_file_path}.deprecated"
|
||||||
fi
|
fi
|
||||||
chown centreon: "$json_config_file_path"
|
chown centreon-gorgone:centreon "$json_config_file_path"
|
||||||
chmod 640 "$json_config_file_path"
|
chmod 660 "$json_config_file_path"
|
||||||
}
|
}
|
||||||
|
|
||||||
function applyToSystemD() {
|
function applyToSystemD() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user