meta-starlingx/meta-stx-distro/recipes-httpd/apache2/apache2_%.bbappend
Litao Gao 7d8df9a35c keystone: switch keystone frontend to gunicorn to align with stx
- 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>
2020-06-11 20:29:59 -07:00

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"