diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2006-10-19 13:28:55 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2006-10-19 13:28:55 +0000 |
commit | 1030e7ad49104740591f302aaa7ffe768149d1c5 (patch) | |
tree | 0305801be9a9ef97e5b54eebdec31d5a922e2935 /net-im | |
parent | Mark 1.54.2.9 stable on alpha (diff) | |
download | gentoo-2-1030e7ad49104740591f302aaa7ffe768149d1c5.tar.gz gentoo-2-1030e7ad49104740591f302aaa7ffe768149d1c5.tar.bz2 gentoo-2-1030e7ad49104740591f302aaa7ffe768149d1c5.zip |
removed from tree
Diffstat (limited to 'net-im')
-rwxr-xr-x | net-im/jive-messenger/files/init.d/jive | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/net-im/jive-messenger/files/init.d/jive b/net-im/jive-messenger/files/init.d/jive deleted file mode 100755 index 0ae98f66e6f8..000000000000 --- a/net-im/jive-messenger/files/init.d/jive +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/runscript - -depend() { - need net -} - -start() { - ebegin "Starting Jive Messenger" - MESSENGER_HOME=/opt/jive_messenger - MESSENGER_LIB="${MESSENGER_HOME}/lib" - MESSENGER_OPTS="-Xmx256m -DmessengerHome=${MESSENGER_HOME} -Dmessenger.lib.dir=${MESSENGER_LIB}" - sudo -u jive $(java-config --java) -server ${MESSENGER_OPTS} -classpath "${MESSENGER_LIB}/startup.jar" -jar "${MESSENGER_LIB}/startup.jar" > /var/log/jive.log 2>&1 & - echo $! > /var/run/jive.pid - JIVE_PID=$(</var/run/jive.pid) - if [ -n "${JIVE_PID}" ]; then - ps ax|grep "^ *$(< /var/run/jive.pid)" > /dev/null - eend $? - else - eend 1 - fi -} - -stop() { - ebegin "Stopping Jive Messenger" - kill $(< /var/run/jive.pid) - sleep 1 - if ps ax|grep "^ *$(< /var/run/jive.pid)" > /dev/null; then - eend 1 - else - rm /var/run/jive.pid - eend 0 - fi -} |