mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 16:08:17 +00:00
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/25230 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
25 lines
515 B
Text
25 lines
515 B
Text
#!/sbin/openrc-run
|
|
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
unifi_exec="/usr/bin/unifi"
|
|
unifi_path="/usr/lib/unifi"
|
|
|
|
unifi_user="unifi"
|
|
unifi_group="unifi"
|
|
|
|
name="UniFi Controller"
|
|
|
|
start_stop_daemon_args="--chdir ${unifi_path}"
|
|
|
|
command="${unifi_exec}"
|
|
command_args="start"
|
|
command_background=true
|
|
command_progress=true
|
|
command_user="${unifi_user}:${unifi_group}"
|
|
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
retry=TERM/60
|
|
|
|
rc_after="mongodb"
|
|
rc_need="mongodb"
|