mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
44c9fcd877
patches/packages/httpd-2.4.53-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and the following security issues: mod_sed: Read/write beyond bounds core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody HTTP request smuggling vulnerability mod_lua: Use of uninitialized value in r:parsebody For more information, see: https://downloads.apache.org/httpd/CHANGES_2.4.53 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23943 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22721 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22720 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22719 (* Security fix *) patches/packages/mozilla-firefox-91.7.1esr-x86_64-1_slack15.0.txz: Upgraded. This release makes the following change: Yandex and Mail.ru have been removed as optional search providers in the drop-down search menu in Firefox. For more information, see: https://www.mozilla.org/en-US/firefox/91.7.1/releasenotes/ (* Security fix *)
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
#!/bin/sh
|
|
#
|
|
# /etc/rc.d/rc.httpd
|
|
#
|
|
# Start/stop/restart/graceful[ly restart]/graceful[ly]-stop
|
|
# the Apache (httpd) web server.
|
|
#
|
|
# To make Apache start automatically at boot, make this
|
|
# file executable: chmod 755 /etc/rc.d/rc.httpd
|
|
#
|
|
# For information on these options, "man apachectl".
|
|
|
|
case "$1" in
|
|
'start')
|
|
/usr/sbin/apachectl -k start
|
|
;;
|
|
'stop')
|
|
/usr/sbin/apachectl -k stop
|
|
pkill -f /usr/sbin/httpd
|
|
# Remove both old and new .pid locations:
|
|
rm -f /var/run/httpd.pid /var/run/httpd/httpd.pid
|
|
;;
|
|
'force-restart')
|
|
# Because sometimes restarting through apachectl just doesn't do the trick...
|
|
/usr/sbin/apachectl -k stop
|
|
pkill -f /usr/sbin/httpd
|
|
# Remove both old and new .pid locations:
|
|
rm -f /var/run/httpd.pid /var/run/httpd/httpd.pid
|
|
/usr/sbin/apachectl -k start
|
|
;;
|
|
'restart')
|
|
/usr/sbin/apachectl -k restart
|
|
;;
|
|
'graceful')
|
|
/usr/sbin/apachectl -k graceful
|
|
;;
|
|
'graceful-stop')
|
|
/usr/sbin/apachectl -k graceful-stop
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|stop|restart|graceful|graceful-stop}"
|
|
;;
|
|
esac
|
|
|