genpkg sysvinit abfrage fehlerhaft -> korrigiert
/etc/init/httpd.conf hinzugefügt git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_httpd@5576 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
a416a9843b
commit
4d4955060e
14
etc/init/httpd.conf
Normal file
14
etc/init/httpd.conf
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
expect fork
|
||||||
|
|
||||||
|
exec /opt/apache2/bin/httpd -k start
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ /var/install/sysvinit* ]; then
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
chmod 755 apache2
|
chmod 755 apache2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user