|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Apache2 on startup OpenBsd 5.6
Hi!
Is there a way to replace the built in httpd "httpd_flags" in rc.config.local by Apache2 http2 on Openbsd 5.6? |
|
||||
I mentioned the rc.d script for Apache 2 here:
I then used it later in that thread with -d (debug) and -f (force). Debug to get some output, and force because I did not have apache2_flags defined in my /etc/rc.conf.local. To automatically start a 3rd party package using its rc.d script, you must have both a _flags variable defined (to enable the script) and the script name listed among the scripts defined by the pkg_scripts variable. The pkg_scripts variable starts 3rd party packages in the order listed (use spaces to separate package names). One possible example, with Apache 2 being started with default flags, and that being the only 3rd party package daemon being started: Code:
apache2_flags= pkg_scripts=apache2 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Barti asked about OpenBSD startup/shutdown | jggimi | OpenBSD General | 0 | 17th July 2012 04:17 PM |
Apache2 and PHP5 installation? | joancatala | OpenBSD General | 0 | 2nd June 2011 09:44 PM |
I'm sorry ... (apache2, php5, pstgresql, openbsd 4.8) | Nothing2Do | OpenBSD Packages and Ports | 14 | 7th February 2011 10:09 PM |
apache2.2+PHP5 | edvinus | OpenBSD Packages and Ports | 1 | 29th June 2009 08:13 PM |
Apache2 and Iconv | disi | NetBSD Installation and Upgrading | 1 | 13th May 2008 09:07 PM |