mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
6f8267e616
patches/packages/httpd-2.4.58-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and security issues: moderate: Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST. low: mod_macro buffer over-read. low: Apache HTTP Server: DoS in HTTP/2 with initial windows size 0. For more information, see: https://downloads.apache.org/httpd/CHANGES_2.4.58 https://www.cve.org/CVERecord?id=CVE-2023-45802 https://www.cve.org/CVERecord?id=CVE-2023-31122 https://www.cve.org/CVERecord?id=CVE-2023-43622 (* Security fix *) patches/packages/mozilla-thunderbird-115.3.3-x86_64-1_slack15.0.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/115.3.3/releasenotes/
47 lines
1,001 B
Bash
47 lines
1,001 B
Bash
#!/bin/sh
|
|
#
|
|
# /etc/rc.d/rc.httpd
|
|
#
|
|
# Start/stop/force-restart/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')
|
|
if [ ! -r /run/httpd.pid ]; then
|
|
pkill -f /usr/sbin/httpd
|
|
else
|
|
/usr/sbin/apachectl -k stop
|
|
fi
|
|
pwait -f /usr/sbin/httpd
|
|
;;
|
|
'force-restart')
|
|
if [ ! -r /run/httpd.pid ]; then
|
|
pkill -f /usr/sbin/httpd
|
|
else
|
|
/usr/sbin/apachectl -k stop
|
|
fi
|
|
pwait -f /usr/sbin/httpd
|
|
/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|force-restart|restart|graceful|graceful-stop}"
|
|
;;
|
|
esac
|
|
|