summaryrefslogtreecommitdiff
path: root/extra/bitlbee
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-17 19:27:42 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-17 19:27:42 +0000
commit049af7a95b01eba14d33586ad5852dddaf107e53 (patch)
tree3f89f26ef1ec32f03b8842f97077b7d3459ba6d0 /extra/bitlbee
parent84837d89991e1e82e5aef8e297541c572ebf2efa (diff)
Fixed
Diffstat (limited to 'extra/bitlbee')
-rw-r--r--extra/bitlbee/bitlbee.rcd54
-rw-r--r--extra/bitlbee/bitlbee.xinetd12
2 files changed, 0 insertions, 66 deletions
diff --git a/extra/bitlbee/bitlbee.rcd b/extra/bitlbee/bitlbee.rcd
deleted file mode 100644
index 9597b4ab9..000000000
--- a/extra/bitlbee/bitlbee.rcd
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_pid() {
- pidof -o %PPID /usr/sbin/bitlbee
-}
-
-case "$1" in
- start)
- stat_busy 'Starting Bitlbee'
- PID=$(get_pid)
- if [ -z "$PID" ]; then
- [ -f /var/run/bitlbee/bitlbee.pid ] && rm -f /var/run/bitlbee/bitlbee.pid
- su -s /bin/sh -c '/usr/sbin/bitlbee -F' 'bitlbee'
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- add_daemon bitlbee
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy 'Stopping Bitlbee'
- PID=$(get_pid)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/bitlbee/bitlbee.pid &> /dev/null
- rm_daemon bitlbee
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/bitlbee/bitlbee.xinetd b/extra/bitlbee/bitlbee.xinetd
deleted file mode 100644
index d671a8cfc..000000000
--- a/extra/bitlbee/bitlbee.xinetd
+++ /dev/null
@@ -1,12 +0,0 @@
-service bitlbee
-{
- type = UNLISTED
- socket_type = stream
- protocol = tcp
- wait = no
- user = bitlbee
- group = bitlbee
- server = /usr/sbin/bitlbee
- port = 6667
- disable = yes
-}