ansible/roles/loki/templates/loki.service.j2
2022-08-30 07:48:13 -05:00

20 lines
331 B
Django/Jinja

{{ ansible_managed | comment }}
[Unit]
Description=Loki
After=network-online.target
[Service]
Type=simple
User={{ loki_user }}
Group={{ loki_group }}
ExecStart={{ loki_bin_path }}/loki \
-config.file {{ loki_config_path }}
WorkingDirectory={{ loki_var_path }}
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target