CVS: moonbase/net/maradns/init.d maradns,NONE,1.1 named,1.1,NONE
    csm at lunar-linux.org 
    csm at lunar-linux.org
       
    Wed Jul 30 23:30:37 GMT 2003
    
    
  
Update of /var/cvs/lunar/moonbase/net/maradns/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv30498/init.d
Added Files:
	maradns 
Removed Files:
	named 
Log Message:
fixing this module to use the correct name for its initscript.
see:
http://www.lanana.org/lsbreg/init/init.txt
for reference.
--- NEW FILE: maradns ---
#!/bin/bash
#
## maradns         This shell script takes care of starting and stopping
##                 maradns .
#
## chkconfig: 345 45 55
## processname: maradns
## description: maradns is a Domain Name Server (DNS) \
## that is used to resolve host names to IP addresses.
## probe: true
## config: /etc/mararc
case $1 in 
	   stop ) 
		echo "Stopping $0"
		killall maradns
		sleep 1
		;;
	
	  start )
		echo "Starting $0"
		nohup maradns >> /var/log/maradns &
		;;
	restart ) 
		$0 stop
		$0 start
		;;
	      * ) 
		echo "Usage: $0 [ stop | start | restart ]"
		;;	
esac
		
--- named DELETED ---
    
    
More information about the Lunar-commits
mailing list