src.nth.io/

summaryrefslogtreecommitdiff
path: root/writefreely/templates/[email protected]
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-03 12:57:47 -0500
committerLuke Hoersten <[email protected]>2020-05-03 12:57:47 -0500
commit6226b1632a1bae8cce7dcbc10e759cea5b53ec72 (patch)
tree5c98fea0f408e93d2d42dc38a4bc3f23bfeaadd1 /writefreely/templates/[email protected]
parent840fecf2edf2d94f380017a7e5f197e4bf72bb35 (diff)
Completed writefreely role
Diffstat (limited to 'writefreely/templates/[email protected]')
-rw-r--r--writefreely/templates/[email protected]12
1 files changed, 12 insertions, 0 deletions
diff --git a/writefreely/templates/[email protected] b/writefreely/templates/[email protected]
new file mode 100644
index 0000000..bf0d03b
--- /dev/null
+++ b/writefreely/templates/[email protected]
@@ -0,0 +1,12 @@
+[Unit]
+Description=WriteFreely %I Instance
+After=syslog.target network.target
+
+[Service]
+WorkingDirectory={{writefreely_dir}}/%i/
+ExecStart=/usr/local/bin/writefreely
+Restart=always
+User={{writefreely_user}}
+
+[Install]
+WantedBy=multi-user.target