aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/lms/files/lms.init')
-rw-r--r--media-sound/lms/files/lms.init17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-sound/lms/files/lms.init b/media-sound/lms/files/lms.init
new file mode 100644
index 000000000..269a37162
--- /dev/null
+++ b/media-sound/lms/files/lms.init
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/run/lms.pid"
+command="/usr/bin/lms"
+command_args=""
+command_user="lms:lms"
+start_stop_daemon_args="--wait 1000 -b -m \
+ -d /var/lms \
+ --env OMP_THREAD_LIMIT=1 \
+ -1 /var/log/lms/lms.log \
+ -2 /var/log/lms/lms.log"
+
+depend() {
+ need net
+}