config-files: install the init script for lighttpd

install the init script into /etc/init.d for lighttpd
to align with stx 3.0.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
Jackie Huang 2020-04-27 17:13:55 +08:00 committed by Babak Sarashki
parent e7a3da0cb3
commit f304e767c9

View File

@ -339,7 +339,9 @@ pkg_postinst_ontarget_lighttpd-config() {
# /etc/rc.d/init.d/lighttpd is not a config file, so replace it here if it doesn't match
cp --preserve=xattr -f ${datadir}/starlingx/lighttpd.init ${sysconfdir}/rc.d/init.d/lighttpd
cp --preserve=xattr -f ${datadir}/starlingx/lighttpd.init ${sysconfdir}/init.d/lighttpd
chmod 755 ${sysconfdir}/rc.d/init.d/lighttpd
chmod 755 ${sysconfdir}/init.d/lighttpd
}
pkg_postinst_ontarget_logrotate-config() {