Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
18
etc/init/httpd.conf
Normal file
18
etc/init/httpd.conf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
description "Start the apache web server"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [345] and (started ifup))
|
||||||
|
stop on runlevel [0126]
|
||||||
|
|
||||||
|
console none
|
||||||
|
|
||||||
|
pre-start script
|
||||||
|
/sbin/CheckPid /var/run/httpd.pid
|
||||||
|
end script
|
||||||
|
|
||||||
|
expect fork
|
||||||
|
|
||||||
|
exec /opt/apache2/bin/httpd -k start
|
||||||
|
|
@ -28,6 +28,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
chmod 755 apache2
|
chmod 755 apache2
|
||||||
@ -43,3 +44,4 @@ for i in 2 3 4 5; do
|
|||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
|
fi
|
||||||
|
60
tmp/postremove
Normal file
60
tmp/postremove
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.rainmaker-mm.de/RMM/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $Source$
|
||||||
|
#
|
||||||
|
#(c) Rainmaker MultiMedia OHG
|
||||||
|
#This program is free software; you can redistribute it and/or
|
||||||
|
#modify ist under the terms of the GNU General Public License
|
||||||
|
#as published by the Free Software Foundation; either version
|
||||||
|
#2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
#This program is distributed in the hope that it will be useful,
|
||||||
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
#See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
#You should have received a copy of the GNU General Public License
|
||||||
|
#along with this program; if not write to the Free Software Foundation,
|
||||||
|
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
#
|
||||||
|
#Beschreibung:
|
||||||
|
#postinstall für kde. Erzeugt für kdm die Einträge der bekannten
|
||||||
|
#windowmanager (derzeit: xfce, WMaker, Haze und kde3). Ausserdem
|
||||||
|
#werden die notwendigen Einträge für /etc/ld.so.conf erzeugt.
|
||||||
|
#
|
||||||
|
#Aufrufparameter:
|
||||||
|
#keine
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author$
|
||||||
|
#Datum der letzten Änderung: $Date$
|
||||||
|
#Version der Datei: $Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.4 2007/04/29 12:21:56 kueller
|
||||||
|
#GID=27, UID=50 festgelegt
|
||||||
|
#
|
||||||
|
#Revision 1.3 2006/09/12 07:47:38 kueller
|
||||||
|
#Anpassung an 32 /64 Bit Viitor
|
||||||
|
#
|
||||||
|
#Revision 1.2 2006/06/28 08:38:26 segler
|
||||||
|
#Apache will unter User "www" Gruppe "www" laufen
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2006/05/11 09:22:16 kueller
|
||||||
|
#Apache2 archive kommt als httpd daher - neues module, neue initialisierungs addons
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
#/opt/kde/lib in ldconfig aufnehmen
|
||||||
|
|
||||||
|
sed -i -e "/\/opt\/apache2\/lib/d" /etc/ld.so.conf
|
||||||
|
sed -i -e "/\/opt\/apache2\/lib64/d" /etc/ld.so.conf
|
||||||
|
|
||||||
|
if getent passwd www; then
|
||||||
|
userdel www
|
||||||
|
fi
|
||||||
|
if getent group www; then
|
||||||
|
groupdel www
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user