summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2019-11-09 20:01:13 -0500
committerAaron Bauman <bman@gentoo.org>2019-11-09 20:01:13 -0500
commit580fb20468962f8a836a7975c592e079e1ed9856 (patch)
treeeb3df2a98f82360c6e357dc3c9060671ec21258c /net-im/openfire/files
parentmail-filter/clamsmtp: drop last-rited package (diff)
downloadgentoo-580fb20468962f8a836a7975c592e079e1ed9856.tar.gz
gentoo-580fb20468962f8a836a7975c592e079e1ed9856.tar.bz2
gentoo-580fb20468962f8a836a7975c592e079e1ed9856.zip
net-im/openfire: drop last-rited package
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-im/openfire/files')
-rw-r--r--net-im/openfire/files/openfire-confd11
-rw-r--r--net-im/openfire/files/openfire-initd29
-rw-r--r--net-im/openfire/files/openfire.service13
3 files changed, 0 insertions, 53 deletions
diff --git a/net-im/openfire/files/openfire-confd b/net-im/openfire/files/openfire-confd
deleted file mode 100644
index 35caecef20c..00000000000
--- a/net-im/openfire/files/openfire-confd
+++ /dev/null
@@ -1,11 +0,0 @@
-OPENFIRE_HOME=/opt/openfire
-OPENFIRE_LIB="${OPENFIRE_HOME}/lib"
-OPENFIRE_OPTS="-Xmx256m -DopenfireHome=${OPENFIRE_HOME} -Dopenfire.lib.dir=${OPENFIRE_LIB}"
-OPENFIRE_CLASS="-classpath ${OPENFIRE_LIB}/startup.jar"
-OPENFIRE_JAR="-jar ${OPENFIRE_LIB}/startup.jar"
-OPENFIRE_ARGS="-server ${OPENFIRE_OPTS} ${OPENFIRE_CLASS} ${OPENFIRE_JAR}"
-
-
-#JVM used by the openfire server. You can see a list of available vm's in /usr/lib/jvm/
-#But remenber that openfire needs a 1.5 jvm
-GENTOO_VM=sun-jdk-1.5
diff --git a/net-im/openfire/files/openfire-initd b/net-im/openfire/files/openfire-initd
deleted file mode 100644
index 281e5197af2..00000000000
--- a/net-im/openfire/files/openfire-initd
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- need net
- provide jabber-server
-}
-
-start() {
- [ -d /var/run/jabber ] || mkdir /var/run/jabber
- #source /etc/env.d/java/20sun-jdk-1.5.0.06
- #OPENFIRE_CMD="${JAVA_HOME}/bin/java"
- OPENFIRE_CMD=`GENTOO_VM=${GENTOO_VM} java-config -J`
-
- ebegin "Starting Openfire Server"
- start-stop-daemon \
- --user jabber \
- --background \
- --make-pidfile \
- --pidfile /var/run/jabber/openfire.pid \
- --start \
- --exec ${OPENFIRE_CMD} -- ${OPENFIRE_ARGS} > /var/log/openfire.log 2>&1
- eend
-}
-
-stop() {
- ebegin "Stopping Openfire Messenger"
- start-stop-daemon --pidfile /var/run/jabber/openfire.pid --stop
- eend
-}
diff --git a/net-im/openfire/files/openfire.service b/net-im/openfire/files/openfire.service
deleted file mode 100644
index 6f2ff26ed49..00000000000
--- a/net-im/openfire/files/openfire.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Openfire XMPP Server
-After=network.target
-
-[Service]
-User=jabber
-Group=jabber
-PrivateTmp=true
-ExecStart=/usr/bin/java -server -Xmx256m -DopenfireHome=/opt/openfire -Dopenfire.lib.dir=/opt/openfire/lib -classpath /opt/openfire/lib/startup.jar -jar /opt/openfire/lib/startup.jar
-SuccessExitStatus=143 SIGKILL
-
-[Install]
-WantedBy=multi-user.target