This file is indexed.

/etc/redis/redis-server.pre-down.d/00_example is in redis-server 3:3.2.6-3+deb9u2.

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
#!/bin/sh
#
# Example script executed before redis-server is stopped.
#
# All executable files within this directory are executed in lexical sort
# order. Filenames must consist entirely of ASCII upper- and lower-case
# letters, digits, underscores, and hyphens. If the script returns with a
# non-zero exit code, no further scripts are run.
#
# Scripts are run by the 'redis' user and associated run-time environment.
#
# Example:
#
#    redis-cli SCRIPT LOAD "$(cat /path/to/script.lua)" >/dev/null
#
# Scripts should be idempotent so that multiple calls to (eg.)
# "/etc/init.d/redis-server start" does not result in unintended consequences.

set -eu

exit 0