aboutsummaryrefslogtreecommitdiff
path: root/examples/transport-configs/init-scripts/ile
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-01-27 17:10:14 +0100
committerBadlop <badlop@process-one.net>2021-01-27 17:10:56 +0100
commit5eb766e2d2fd626c4ba4696a57d9d2ea56501aee (patch)
treecaae6a72aa7ef27f27b8ef537018a542fdc45a6e /examples/transport-configs/init-scripts/ile
parentUpdate newest copyright year to 2021 (#3464) (diff)
Remove old and obsolete examples/transport-configs/ (#3487)
Diffstat (limited to 'examples/transport-configs/init-scripts/ile')
-rwxr-xr-xexamples/transport-configs/init-scripts/ile43
1 files changed, 0 insertions, 43 deletions
diff --git a/examples/transport-configs/init-scripts/ile b/examples/transport-configs/init-scripts/ile
deleted file mode 100755
index a1e072f2c..000000000
--- a/examples/transport-configs/init-scripts/ile
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-#########################################################
-#
-# ile -- script to start ILE.
-#
-#########################################################
-
-DAEMON=/usr/local/sbin/ile.pl
-NAME=ile.pl
-CONF=/etc/jabber/ile.xml
-USER=ejabberd
-
-#########################################################
-
-if [ "`/usr/bin/whoami`" != "$USER" ]; then
-
- echo "You need to be" $USER "user to run this script."
- exit 1
-fi
-
-case "$1" in
- debug)
- echo "Not implemented yet. Starting in normal mode"
- $0 start
- ;;
- start)
- test -f $DAEMON || exit 0
- echo "Starting $NAME."
- $DAEMON $CONF &
- ;;
- stop)
- echo "Stopping $NAME."
- killall $NAME &
- ;;
- restart|reload)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "Usage: $0 {debug|start|stop|status|restart}"
- exit 1
-esac