src.nth.io/

summaryrefslogtreecommitdiff
path: root/writefreely/server/templates/[email protected]
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-07-04 12:05:24 -0500
committerLuke Hoersten <[email protected]>2021-07-04 12:05:24 -0500
commitf8aa3247303a857a07581d9e97d08347d149b4d5 (patch)
treed4e902fed13c2e7bc0544fbaec20542ab12362f1 /writefreely/server/templates/[email protected]
parent74bb4077fed1ed5927e4e0385c75d469af6debbf (diff)
Added writefreely backup.
Diffstat (limited to 'writefreely/server/templates/[email protected]')
-rw-r--r--writefreely/server/templates/[email protected]12
1 files changed, 12 insertions, 0 deletions
diff --git a/writefreely/server/templates/[email protected] b/writefreely/server/templates/[email protected]
new file mode 100644
index 0000000..bf0d03b
--- /dev/null
+++ b/writefreely/server/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