You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
477 B
23 lines
477 B
#!/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
|