summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2017-06-02 11:34:43 -0400
committerGitHub <noreply@github.com>2017-06-02 11:34:43 -0400
commit0eaa69b2db5feb4095d09bf75d4123f960619e79 (patch)
tree4ee9a6c6047e9e9dc4a126e472756b0f9b529617 /etc
parent0ac55bbafa02ad951c9f1708f1fbc7c8746d5fce (diff)
parenta82318fbdfc1af624fd9bf9bbae316ad45f43611 (diff)
Merge pull request #1 from sstvinc2/matt-refactor
Matt refactor
Diffstat (limited to 'etc')
-rw-r--r--etc/unbiased.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/unbiased.service b/etc/unbiased.service
new file mode 100644
index 0000000..391e4ff
--- /dev/null
+++ b/etc/unbiased.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Unbiased News
+
+[Service]
+Type=simple
+ExecStart=/opt/unbiased/venv/bin/unbiased /opt/unbiased/webroot -l /opt/unbiased/logs
+WorkingDirectory=/opt/unbiased
+User=www-data
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target