diff options
author | Julien Dessaux | 2017-09-20 16:11:12 +0200 |
---|---|---|
committer | Julien Dessaux | 2017-09-21 16:21:41 +0200 |
commit | 3eaa59684cd906af379a90c2e14094b9b85ecbf1 (patch) | |
tree | 40ac37b56df8553254901442b356cafe6d002c2e /services/applications/php56.cf | |
parent | Finished adding nagios policy along with simple nginx policy (diff) | |
download | masterfiles-3eaa59684cd906af379a90c2e14094b9b85ecbf1.tar.gz masterfiles-3eaa59684cd906af379a90c2e14094b9b85ecbf1.tar.bz2 masterfiles-3eaa59684cd906af379a90c2e14094b9b85ecbf1.zip |
Added ipam.adyxax.org policies
Diffstat (limited to 'services/applications/php56.cf')
-rw-r--r-- | services/applications/php56.cf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/applications/php56.cf b/services/applications/php56.cf index 5f96d25..e62a389 100644 --- a/services/applications/php56.cf +++ b/services/applications/php56.cf @@ -16,6 +16,10 @@ bundle agent php56 perms => system_owned("444"), edit_template => "$(sys.inputdir)/templates/php/freebsd-php56-php-fpm.conf", classes => if_repaired("php56_php_fpm_conf_file_repaired"); + "/var/run/php-fpm/." + create => "true", + perms => system_owned("444"), + classes => if_repaired("php56_php_run_dir_repaired"); classes: freebsd:: "php_fpm_service_running" expression => returnszero("/usr/sbin/service php-fpm status", "noshell"); @@ -28,6 +32,7 @@ bundle agent php56 any:: "$(this.bundle): /usr/local/etc/php.ini repaired" ifvarclass => "php56_php_ini_file_repaired"; "$(this.bundle): /usr/local/etc/php-fpm.conf repaired" ifvarclass => "php56_php_fpm_conf_file_repaired"; + "$(this.bundle): /var/run/php-fpm/ directory repaired" ifvarclass => "php56_php_run_dir_repaired"; "$(this.bundle): sshd service repaired" ifvarclass => "php_fpm_service_repaired"; "$(this.bundle): sshd service restarted" ifvarclass => "php_fpm_service_restarted"; } |