blob: 6e82b6a09c65283f370efc43dc64d8104497d2d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/sbin/openrc-run
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="Laminar daemon"
description="Fast and lightweight Continuous Integration"
command=/usr/sbin/laminard
pidfile=/run/laminar.pid
command_background="true"
command_user="laminar:laminar"
depend() {
need localmount
}
start_pre() {
local env
local env_args
OIFS=$IFS
IFS=$(printf '\n')
for env in $(set | grep ^LAMINAR_); do
env_args="${env_args} --env ${env}"
done
IFS=$OIFS
start_stop_daemon_args="${start_stop_daemon_args} ${env_args}"
}
|