aboutsummaryrefslogtreecommitdiff
path: root/zig-comments/comments.service
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-08-04 22:29:41 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-08-22 10:10:02 +0100
commitff092976a9fdeeba96a0de13d013b9d838640c40 (patch)
treeec3b75a19f649059be8fbec118c79eac67788371 /zig-comments/comments.service
parente342ead779022fd1e2c4e2d6c1c1e8ecaade80de (diff)
downloadmfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.tar.gz
mfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.tar.bz2
mfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.tar.xz
mfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.zip
Convert comments to zig
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