summaryrefslogtreecommitdiff
path: root/irc/ircd-rusnet/files/ircd.sh.sample
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ircd-rusnet/files/ircd.sh.sample')
-rw-r--r--irc/ircd-rusnet/files/ircd.sh.sample33
1 files changed, 0 insertions, 33 deletions
diff --git a/irc/ircd-rusnet/files/ircd.sh.sample b/irc/ircd-rusnet/files/ircd.sh.sample
deleted file mode 100644
index 047f424e6d72..000000000000
--- a/irc/ircd-rusnet/files/ircd.sh.sample
+++ /dev/null
@@ -1,33 +0,0 @@
-#! /bin/sh
-
-PATH=/bin:/usr/bin
-
-daemon=ircd
-daemon_path=/usr/local/sbin
-daemon_pid=/var/run/ircd/$daemon.pid
-#daemon_flags=
-
-case $1 in
- start)
- if [ -x ${daemon_path}/$daemon ]; then
- ${daemon_path}/$daemon $daemon_flags >/dev/null 2>&1
- echo -n " $daemon"
- fi
- ;;
- stop)
- if [ -f $daemon_pid ]; then
- kill `head -1 $daemon_pid` && echo -n " $daemon"
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "Usage: `basename $0` {start|stop|restart}" >&2
- exit 64
- ;;
-esac
-
-exit 0