summaryrefslogtreecommitdiff
path: root/www-apps/liquid_feedback_frontend/files/liquid_feedback.initd
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/liquid_feedback_frontend/files/liquid_feedback.initd')
-rw-r--r--www-apps/liquid_feedback_frontend/files/liquid_feedback.initd16
1 files changed, 16 insertions, 0 deletions
diff --git a/www-apps/liquid_feedback_frontend/files/liquid_feedback.initd b/www-apps/liquid_feedback_frontend/files/liquid_feedback.initd
new file mode 100644
index 000000000000..0fe14172b52f
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/files/liquid_feedback.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="liquid feedback daemon"
+description="Liquid Feedback Frontend"
+command=/usr/bin/moonbridge
+command_args="-l /var/log/liquid_feedback/lqfb.log /usr/lib/webmcp/bin/mcp.lua /usr/lib/webmcp /var/lib/liquid_feedback_frontend main myconfig-3"
+pidfile=/run/lqfb.pid
+command_user="apache:apache"
+command_background=true
+
+depend() {
+ need net
+ need postgresql
+}