package promtail import "du5t1n.me/cfg/base/schema/instructions" templates: [...instructions.#RenderInstruction] & [ { template: "promtail/ca.crt" dest: "/etc/promtail/ca.crt" hooks: { changed: [{run: "systemctl try-restart promtail"}] } }, { template: "promtail/config.yml" dest: "/etc/promtail/config.yml" hooks: { changed: [{run: "systemctl try-restart promtail"}] } }, { template: "promtail/promtail.container" dest: "/etc/containers/systemd/promtail.container" hooks: { changed: [ { run: "systemctl daemon-reload" immediate: true }, {run: "systemctl restart promtail"}, ] } }, ]