<commit_before><?php

/* Stuff not related to upgrading database +
 * config files goes here. */
class AirtimeMiscUpgrade{
    public static function start(){
    }
}
<commit_msg>CC-3598: Tighten permissions on Monit generic configuration file<commit_after><?php

/* Stuff not related to upgrading database +
 * config files goes here. */
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);
    }
}

{'fraction_non_alphanumeric': 0.12938596491228072, 'fraction_numerical': 0.02631578947368421, 'mean_word_length': 3.1126126126126126, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6983085', 'n_tokens_mistral': 314, 'n_tokens_neox': 292, 'n_words': 65}