Saltstack Official PHP Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
543B

  1. # Manages the php-hhvm service.
  2. {% from "php/ng/map.jinja" import php with context %}
  3. {% from "php/ng/macro.jinja" import sls_block %}
  4. {% set service_function = {True:'running', False:'dead'}.get(php.hhvm.service.enabled) %}
  5. include:
  6. - php.ng.deprecated
  7. - php.ng.hhvm.install
  8. php_hhvm_service:
  9. service.{{ service_function }}:
  10. {{ sls_block(php.hhvm.service.opts) }}
  11. - name: {{ php.lookup.hhvm.service }}
  12. - enable: {{ php.hhvm.service.enabled }}
  13. - require:
  14. - sls: php.ng.hhvm.install
  15. - watch:
  16. - pkg: php_install_hhvm