Commit e9f74cd7 authored by Benjamin DUPUIS's avatar Benjamin DUPUIS
Browse files

Manage services

parent 426f210a
......@@ -62,4 +62,11 @@ promtail_service_file:
- group: root
- mode: '0644'
promtail:
service.running:
- enable: True
- reload: True
- watch:
- file: promtail_binary
- file: {{ loki.promtail.install_dir }}/promtail/promtail.yml
- file: /etc/systemd/system/promtail.service
......@@ -52,3 +52,12 @@ loki_service_file:
- user: root
- group: root
- mode: '0644'
loki:
service.running:
- enable: True
- reload: True
- watch:
- file: loki_binary
- file: {{ loki.server.install_dir }}/loki/loki.yml
- file: /etc/systemd/system/loki.service
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment