CC-3798: Upgrade from 1.9.0 to 2.1.0 in lucid: warning message
-fixed
This commit is contained in:
parent
532dd036c1
commit
ca4cbb0ce1
2 changed files with 6 additions and 11 deletions
|
@ -4,20 +4,9 @@
|
|||
* config files goes here. */
|
||||
class AirtimeMiscUpgrade{
|
||||
public static function start($p_ini){
|
||||
self::adjustMonitCfgPermissions();
|
||||
self::adjustAirtimeStorPermissions($p_ini);
|
||||
}
|
||||
|
||||
public static function adjustMonitCfgPermissions(){
|
||||
/* Make the read permission of Monit cfg files more strict */
|
||||
|
||||
chmod("/etc/monit/conf.d/monit-airtime-generic.cfg", 0600);
|
||||
chmod("/etc/monit/conf.d/monit-airtime-liquidsoap.cfg", 0600);
|
||||
chmod("/etc/monit/conf.d/monit-airtime-media-monitor.cfg", 0600);
|
||||
chmod("/etc/monit/conf.d/monit-airtime-playout.cfg", 0600);
|
||||
chmod("/etc/monit/conf.d/monit-airtime-rabbitmq-server.cfg", 0600);
|
||||
}
|
||||
|
||||
public static function adjustAirtimeStorPermissions($p_ini){
|
||||
/* Make the read permission of Monit cfg files more strict */
|
||||
$webUser = $p_ini["general"]["web_server_user"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue