From 4d4955060e8d92f34a7edb0d6aa51afa1e2542ed Mon Sep 17 00:00:00 2001 From: kueller Date: Thu, 22 Apr 2010 14:05:29 +0000 Subject: [PATCH] =?UTF-8?q?genpkg=20sysvinit=20abfrage=20fehlerhaft=20->?= =?UTF-8?q?=20korrigiert=20/etc/init/httpd.conf=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_httpd@5576 504e572c-2e33-0410-9681-be2bf7408885 --- etc/init/httpd.conf | 14 ++++++++++++++ init/genpkg | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 etc/init/httpd.conf diff --git a/etc/init/httpd.conf b/etc/init/httpd.conf new file mode 100644 index 0000000..26ccc3f --- /dev/null +++ b/etc/init/httpd.conf @@ -0,0 +1,14 @@ +description "Start the apache web server" +author "Harald Kueller " +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 + diff --git a/init/genpkg b/init/genpkg index 60d143a..aa73ccb 100644 --- a/init/genpkg +++ b/init/genpkg @@ -28,7 +28,7 @@ # # -if [ /var/install/sysvinit* ]; then +if [ -d /var/install/sysvinit* ]; then WDIR=`pwd` cd etc/init.d chmod 755 apache2