aboutsummaryrefslogtreecommitdiff
path: root/zig-comments/comments.service
diff options
context:
space:
mode:
Diffstat (limited to 'zig-comments/comments.service')
-rw-r--r--zig-comments/comments.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/zig-comments/comments.service b/zig-comments/comments.service
new file mode 100644
index 0000000..7d8f0e5
--- /dev/null
+++ b/zig-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
+EnvironmentFile=/etc/sysconfig/comments
+
+[Install]
+WantedBy=multi-user.target