summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2018-07-12 10:16:49 -0500
committerBen Kohler <bkohler@gentoo.org>2018-07-12 10:19:15 -0500
commitaf0a663983092c388db9dfe470fa5d6326dddab0 (patch)
tree86af8128a75da382149091b7e105201d358e1428 /net-wireless/unifi/files
parentsys-apps/fwupd: Removed old. (diff)
downloadgentoo-af0a663983092c388db9dfe470fa5d6326dddab0.tar.gz
gentoo-af0a663983092c388db9dfe470fa5d6326dddab0.tar.bz2
gentoo-af0a663983092c388db9dfe470fa5d6326dddab0.zip
net-wireless/unifi: prune old
5.7 series is dead, remove. Also remove old 5.8 release. New -r1 init script is well tested so remove r0 and all ebuilds using it. Package-Manager: Portage-2.3.42, Repoman-2.3.9
Diffstat (limited to 'net-wireless/unifi/files')
-rw-r--r--net-wireless/unifi/files/unifi.initd26
1 files changed, 0 insertions, 26 deletions
diff --git a/net-wireless/unifi/files/unifi.initd b/net-wireless/unifi/files/unifi.initd
deleted file mode 100644
index 48fd9dd3b4a4..000000000000
--- a/net-wireless/unifi/files/unifi.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-ACE_LIB="lib/ace.jar"
-DAEMON="${JAVA_HOME-/etc/java-config-2/current-system-vm}"/bin/java
-JAVA_OPTS="-Djava.library.path= -Dorg.xerial.snappy.tempdir=/usr/lib/unifi/tmp"
-UNIFI_GROUP="unifi"
-UNIFI_PATH="/usr/lib/unifi"
-UNIFI_USER="unifi"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting UniFi Controller"
- start-stop-daemon --start --quiet --background --user ${UNIFI_USER} --group ${UNIFI_GROUP} --chdir ${UNIFI_PATH} --exec ${DAEMON} -- ${JAVA_OPTS} -jar ${ACE_LIB} start
- eend $?
-}
-
-stop() {
- ebegin "Stopping UniFi Controller"
- start-stop-daemon --start --quiet --background --user ${UNIFI_USER} --group ${UNIFI_GROUP} --chdir ${UNIFI_PATH} --exec ${DAEMON} -- ${JAVA_OPTS} -jar ${ACE_LIB} stop
- eend $?
-}