writefreely/templates/writefreely.service.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 10 Feb 2020 09:02:51 -0600
changeset 8 20975062661d
parent 2 2556522a2a45
permissions -rw-r--r--
Added grafana restart handler.

[Unit]
Description=WriteFreely %I Instance
After=syslog.target network.target

[Service]
WorkingDirectory=/run/writefreely/%i
ExecStart=/usr/local/bin/writefreely -c /etc/writefreely/%i.conf
Restart=always

[Install]
WantedBy=multi-user.target