aboutsummaryrefslogtreecommitdiff
path: root/comments
diff options
context:
space:
mode:
Diffstat (limited to 'comments')
-rw-r--r--comments/comments.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/comments/comments.service b/comments/comments.service
new file mode 100644
index 0000000..b511915
--- /dev/null
+++ b/comments/comments.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Comments service
+After=postgres.service
+
+[Service]
+User=comments
+ExecStart=/usr/local/bin/comments
+Restart=on-failure
+Environment="DATABASE_URL=postgres:///comments"
+
+[Install]
+WantedBy=multi-user.target