Issue #13: php-fpm daemon name is different in Debian-based distros.

This commit is contained in:
Jeff Geerling 2014-11-16 15:38:51 -06:00
parent 8ea541776f
commit ade68dc4ab
3 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,6 @@
- name: restart php-fpm
service:
name: php-fpm
name: "{{ php_fpm_daemon }}"
state: restarted
when: php_enable_php_fpm

View File

@ -2,6 +2,7 @@
php_conf_path: /etc/php5/apache2
php_extension_conf_path: /etc/php5/apache2/conf.d
php_apc_conf_filename: 20-apc.ini
php_fpm_daemon: php5-fpm
__php_packages:
- php5
- libapache2-mod-php5

View File

@ -2,6 +2,7 @@
php_conf_path: /etc
php_extension_conf_path: /etc/php.d
php_apc_conf_filename: apc.ini
php_fpm_daemon: php-fpm
__php_packages:
- ImageMagick
- php