Browse Source

Merge pull request #23 from n-rodriguez/fix/state

fix(state): restart service when configuration has changed
tags/v0.5.6
Nicolas Rodriguez 4 years ago
parent
commit
275dfc8032
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ufw/service/running.sls

+ 2
- 2
ufw/service/running.sls View File

service.running: service.running:
- name: {{ ufw.service.name }} - name: {{ ufw.service.name }}
- enable: true - enable: true
- require:
- watch:
- sls: {{ sls_config_file }} - sls: {{ sls_config_file }}


{%- else %} {%- else %}
service.dead: service.dead:
- name: {{ ufw.service.name }} - name: {{ ufw.service.name }}
- enable: false - enable: false
- require:
- watch:
- sls: {{ sls_config_file }} - sls: {{ sls_config_file }}


{%- endif %} {%- endif %}

Loading…
Cancel
Save