aboutsummaryrefslogtreecommitdiff
path: root/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-srht/files/git.sr.ht-webhooks.service')
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-webhooks.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-vcs/git-srht/files/git.sr.ht-webhooks.service b/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
new file mode 100644
index 0000000..0a4b4d1
--- /dev/null
+++ b/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=git.sr.ht webhooks service
+Requires=postgresql.service
+After=postgresql.service network.target
+
+[Service]
+Type=simple
+User=gitsrht
+Restart=always
+ExecStart=/usr/bin/celery -A gitsrht.webhooks worker --loglevel=INFO
+
+[Install]
+WantedBy=multi-user.target