aboutsummaryrefslogtreecommitdiff
path: root/net-libs/meta-srht/files/meta.sr.ht-webhooks.initd
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/meta-srht/files/meta.sr.ht-webhooks.initd')
-rw-r--r--net-libs/meta-srht/files/meta.sr.ht-webhooks.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-libs/meta-srht/files/meta.sr.ht-webhooks.initd b/net-libs/meta-srht/files/meta.sr.ht-webhooks.initd
new file mode 100644
index 0000000..a1a42e5
--- /dev/null
+++ b/net-libs/meta-srht/files/meta.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="meta.sr.ht webhooks daemon"
+description=""
+command="/usr/bin/celery"
+command_args="-A metasrht.webhooks worker --loglevel=INFO"
+command_user="srht:srht"
+command_background=true
+pidfile="/run/${RC_SVCNAME}.pid"
+
+depend() {
+ need net
+}