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