Revision: 22051
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at December 29, 2009 20:36 by crypt
                            
                            Initial Code
#! /bin/sh # Debian startup script for lighttpd webserver # # Author: Robert Eisele <[email protected]> # Source: http://www.xarg.org/dowload/rc.lighttpd.debian # LIGHTTPD_BIN=/usr/local/sbin/lighttpd test -x $LIGHTTPD_BIN || exit 5 LIGHTTPD_CONFIG=/etc/lighttpd/lighttpd.conf test -r $LIGHTTPD_CONFIG || exit 6 LIGHTTPD_PIDFILE=/var/run/lighttpd.pid LIGHTTPD_LOGFILE=/var/log/lighttpd/access.log case "$1" in start) echo "Starting lighttpd" $LIGHTTPD_BIN -f $LIGHTTPD_CONFIG ;; stop) echo "Shutting down lighttpd" kill `cat $LIGHTTPD_PIDFILE` ;; restart) $0 stop sleep 1 $0 start ;; force-reload|reload) echo "Reload service lighttpd" kill -INT `cat $LIGHTTPD_PIDFILE` $0 start touch $LIGHTTPD_PIDFILE ;; rotate) echo "Rotate logfile of lighttpd" mv $LIGHTTPD_LOGFILE /tmp/`date +%D`.log kill -HUP `cat $LIGHTTPD_PIDFILE` ;; *) echo "Usage: $0 {start|stop|restart|force-reload|reload|rotate}" exit 1 ;; esac
Initial URL
Initial Description
There is no debian startup script for the lighttpd webserver, if you install the server from sources. You could rewrite the redhat init script for your self, but i've already done this for you :-)
Initial Title
Debian lighttpd startup script
Initial Tags
script
Initial Language
Bash