7d8df9a35c
- unlink keystone service from apache2 - put app file used by gunicorn to expected directory - disable apache2 service as default Signed-off-by: Litao Gao <litao.gao@windriver.com> Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
17 lines
352 B
Plaintext
17 lines
352 B
Plaintext
|
|
|
|
APACHE_PORT_NUM ?= "81"
|
|
|
|
do_install_append () {
|
|
sed -i -e 's/80/${APACHE_PORT_NUM}/' ${D}/${sysconfdir}/${BPN}/httpd.conf
|
|
}
|
|
|
|
inherit useradd
|
|
|
|
USERADD_PACKAGES = "${PN}"
|
|
|
|
USERADD_PARAM_${PN} = "-c 'Apache' -u 48 -g apache -s /sbin/nologin -r -d /usr/share/httpd apache"
|
|
GROUPADD_PARAM_${PN} = "-g 48 -r apache"
|
|
|
|
SYSTEMD_AUTO_ENABLE_${PN} = "disable"
|