/etc/redis/redis-server.pre-down.d/00_example - Ubuntu 16.04 LTS (Xenial Xerus)

This is the default example configuration of 00_example provided by Redis. This config file was generated by Redis running on Ubuntu 16.04.

It is located under: /etc/redis/redis-server.pre-down.d/00_example

# 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


Config Details

Operating system
Ubuntu 16.04 LTS (Xenial Xerus)
21 lines
MD5 checksum


Download the raw file with wget or curl


wget -O 00_example.example http://exampleconfig.com/static/raw/redis/ubuntu16.04/etc/redis/redis-server.pre-down.d/00_example


curl http://exampleconfig.com/static/raw/redis/ubuntu16.04/etc/redis/redis-server.pre-down.d/00_example > 00_example.example