writefreely/templates/writefreely.service.j2
changeset 2 2556522a2a45
parent 1 fd351734f007
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/writefreely/templates/writefreely.service.j2	Sun Feb 09 12:05:37 2020 -0600
@@ -0,0 +1,11 @@
+[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