Webserver daemon script for Debian

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
canoedf
-


Joined: 25 Oct 2004
Posts: 13
Location: Colorado

PostPosted: Tue Aug 15, 2006 2:33 pm    Post subject: Webserver daemon script for Debian Reply with quote

Place this script in /etc/init.d to support Abyss running as daemon.

You will need to set your site specific settings in the script.

Code:
#! /bin/sh
#
# skeleton   example file to build /etc/init.d/ scripts.
#      This file should be used to construct scripts for /etc/init.d.
#
#      Written by Miquel van Smoorenburg <miquels@cistron.nl>.
#      Modified for Debian GNU/Linux
#      by Ian Murdock <imurdock@gnu.ai.mit.edu>.
#
# Version:   @(#)skeleton  1.9.1  08-Apr-2002  miquels@cistron.nl
#

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Abyss Web Server Daemon support under Debian
#
# alter the settings below to match your site
#
DAEMON=/etc/abyss/abyssws/abyssws
NAME=abyssws
DESC="Abyss Web Server"
PARAMETERS=""-b
#
test -x $DAEMON || exit 0
#
# alter the setting below to match your site
#
DAEMON=/etc/abyss/abyssws/abyssws
#
set -e

case "$1" in
  start)
   echo -n "Starting $DESC: $NAME"
   start-stop-daemon --start --quiet --pidfile
/etc/abyss/abyssws/log/$NAME.pid \
      --exec $DAEMON $PARAMETERS
   echo "."
   ;;
  stop)
   echo -n "Stopping $DESC: $NAME"
   start-stop-daemon --stop --quiet --pidfile
/etc/abyss/abyssws/log/$NAME.pid \
      --exec $DAEMON --stop
   echo "."
   ;;
  restart)
   echo -n "Restarting $DESC: $NAME"
   start-stop-daemon --stop --quiet --pidfile \
      /etc/abyss/abyssws/log/$NAME.pid --exec $DAEMON
   sleep 1
   start-stop-daemon --start --quiet --pidfile \
      /etc/abyss/abyssws/log/$NAME.pid --exec $DAEMON $PARAMETERS
   echo "."
   ;;
  *)
   N=/etc/init.d/$NAME
   echo "Usage: $N {start|stop|restart|force-reload}" >&2
   exit 1
   ;;
esac

exit 0


Dan in Colorado
Back to top View user's profile Send private message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Sat Aug 19, 2006 6:12 am    Post subject: Reply with quote

so what this is a script that allows you to run IRCd software? you dont really need it.... you can get unreal IRCd for windows (www.unrealircd.com/?page=dowwnloads just click WIN32 and pick a server :D) you can also get chanserv and services like that from anope (wiki.anope.org/Windows) you can run it fully operational in like 1 hour (if your an IRCd noob then dont try to run an IRC server as the config files may get confusing!)


want me to prove it? well visit my IRC network at:

irc-hctech.no-ip.org
PORT: 6667
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sat Aug 19, 2006 12:02 pm    Post subject: Reply with quote

UnrealIRCd is okay, but it's just like Apache. Hard to configure and makes the same action as BewareIRCd.

BewareIRCd only takes about 226 kb and is easy to configure.
Back to top View user's profile Send private message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Tue Aug 22, 2006 12:37 am    Post subject: Reply with quote

I like unreal ircd it works with windows and is very easy to set up (i tried beware ircd but i couldnt get it to work write it would always crash and stuff :|)
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group