This file is indexed.

/usr/bin/ikiwiki-hosting-web-daily is in ikiwiki-hosting-web 0.20170622ubuntu1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
# Run by daily cron job.

failed=""

. /etc/ikiwiki-hosting/ikiwiki-hosting.conf

for site in $(ikisite list); do
	# Rotate logs, gc git repos, etc.
	if ! ikisite compact "$site"; then
		echo "ikisite compact $site failed" >&2
		failed=1
	fi

	# Update calendars for sites that have the calendar plugin enabled.
	if ! ikisite calendar "$site"; then
		echo "ikisite calendar $site failed" >&2
		failed=1
	fi
done

# Reload apache so it will start logging to the new site log files.
/etc/init.d/apache2 reload

# Request and renew any Lets Encrypt certs as needed.
ikisite maintaincerts

if [ "$failed" ]; then
	exit 1
else
	exit 0
fi