mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
Change rights after install (#5578)
This commit is contained in:
commit
f287ab6838
@ -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