writefreely/templates/writefreely.service.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 02 May 2020 18:38:02 -0500
changeset 16 c2ff7e33d1e5
parent 2 2556522a2a45
permissions -rw-r--r--
Added nginx web root.

[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