[Buildroot] [PATCH 2/2] apache init script

Christopher McCrory chrismcc at gmail.com
Fri Mar 2 17:08:06 UTC 2018


D'oh sending to list also


> What does the complete init script looks like after your patch ? Is it
> worth re-using the init script provided by Apache, as opposed to
> providing a simple one in package/apache/S<xy>apache  ?

I started with the idea of changing just enough of the included init script
to get the daemon running.  I am used to the RedHat/Fedora sysv init
system, not the debian/start-stop-daemon style.  I didn't want to snag some
other init file using start-stop-daemon, replace a variable, and submit it
as my own work.  I'd rather learn the nuances of start-stop-daemon and
write a script that I understand and works as expected.

After testing a few other packages, I noticed quite a few that don't have
init scripts.  Is this by design?  I'd like to add the ability to generate
an initscript within the buildroot system.  something like
though :)
in the package.mk file that would use a template to create a working init
script. And a global toggle in makemenu -> Build Options to
enable/disable.  yes? no? maybe?


Christopher McCrory
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180302/e0f60077/attachment.html>

More information about the buildroot mailing list