View | Details | Raw Unified | Return to bug 41456
Collapse All | Expand All

(-)a/90-apache2-base-httpd.filetrigger (-2 / +2 lines)
Lines 2-8 Link Here
2
LC_ALL=C egrep -qs '^/etc/httpd2|/usr/lib64/apache2/modules|/usr/sbin/httpd2|/usr/sbin/apachectl2|/etc/sysconfig/httpd2|/etc/rc.d/init.d/httpd2|/lib/systemd/system/httpd2.service' || exit 0
2
LC_ALL=C egrep -qs '^/etc/httpd2|/usr/lib64/apache2/modules|/usr/sbin/httpd2|/usr/sbin/apachectl2|/etc/sysconfig/httpd2|/etc/rc.d/init.d/httpd2|/lib/systemd/system/httpd2.service' || exit 0
3
3
4
if sd_booted; then
4
if sd_booted; then
5
  systemctl daemon-reload || :
5
  SYSTEMCTL=/sbin/systemctl
6
  "$SYSTEMCTL" daemon-reload || :
6
fi
7
fi
7
8
8
/sbin/service httpd2 condrestart
9
/sbin/service httpd2 condrestart
9
- 

Return to bug 41456