CC-3598: Tighten permissions on Monit generic configuration file
-fixed
This commit is contained in:
parent
ef6c496ba3
commit
64ec4f30a8
|
@ -5,4 +5,14 @@
|
|||
class AirtimeMiscUpgrade{
|
||||
public static function start(){
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue