summaryrefslogtreecommitdiff
path: root/services/applications/php56.cf
diff options
context:
space:
mode:
Diffstat (limited to 'services/applications/php56.cf')
-rw-r--r--services/applications/php56.cf5
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";
}