fix(systemd): ensure systemd detects new service
This commit is contained in:
parent
a13dd03af1
commit
149dd817f2
@ -76,6 +76,10 @@ prometheus-archive-install-{{ name }}-managed-service:
|
||||
- require:
|
||||
- file: prometheus-archive-install-{{ name }}-file-directory
|
||||
- file: prometheus-config-file-basedir-file-directory
|
||||
cmd.run:
|
||||
- name: systemctl daemon-reload
|
||||
- require:
|
||||
- file: prometheus-archive-install-{{ name }}-managed-service
|
||||
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user