I have installed apache2
package in Debian. In addition to the startup script /etc/init.d/apache2
, there is also another one:
/etc/init.d/apache-htcacheclean
What is the purpose of this script? The description says:
# Short-Description: Cache cleaner process for Apache2 web server
# Description: Start the htcacheclean helper
# This script will start htcacheclean which will periodically scan the
# cache directory of Apache2's mod_cache_disk and remove outdated files.
so it looks like some maintenance script that cleans cache. Why is it then in /etc/init.d/
, where usually only startup scripts reside.
Also the format of this script looks different from standard startup script.
So I am confused;
- why is it in
/etc/init.d/
- what does it do
- who is calling this script
- how can I check whether I am actually using this script
- where is the "cache directory of Apache2's mod_cache_disk", that is mentioned in the description
- what will happen if I delete it from
/etc/init.d/
?
As should be clear from my question, I am using sysvinit.