aboutsummaryrefslogtreecommitdiff
path: root/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-srht/files/git.sr.ht-webhooks.initd')
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-webhooks.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd b/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd
new file mode 100644
index 0000000..717f888
--- /dev/null
+++ b/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="git.sr.ht webhooks daemon"
+description=""
+command="/usr/bin/celery"
+command_args="-A gitsrht.webhooks worker --loglevel=INFO"
+command_user="srht:srht"
+command_background=true
+pidfile="/run/${RC_SVCNAME}.pid"
+
+depend() {
+ need net
+}