diff options
| author | Sergey A. Osokin <osa@FreeBSD.org> | 2021-04-06 10:09:30 -0400 |
|---|---|---|
| committer | Sergey A. Osokin <osa@FreeBSD.org> | 2021-04-06 10:09:56 -0400 |
| commit | 03cebea45b111dd2c72332c058565050a626f373 (patch) | |
| tree | 435171bcd5d43997ca977e371d22e37066f6f7f5 /databases/redis4/files/sentinel.in | |
| parent | x11/virtualgl: enable on powerpc64 (diff) | |
Remove expired databases/redis4.
Diffstat (limited to 'databases/redis4/files/sentinel.in')
| -rw-r--r-- | databases/redis4/files/sentinel.in | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/databases/redis4/files/sentinel.in b/databases/redis4/files/sentinel.in deleted file mode 100644 index b66ae1492b01..000000000000 --- a/databases/redis4/files/sentinel.in +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: sentinel -# REQUIRE: LOGIN -# BEFORE: securelevel -# KEYWORD: shutdown - -# Add the following line to /etc/rc.conf to enable `sentinel': -# -#sentinel_enable="YES" -# - -. /etc/rc.subr - -name="sentinel" -rcvar="${name}_enable" - -command="/usr/local/bin/redis-sentinel" -pidfile="/var/run/redis/$name.pid" - -# read configuration and set defaults -load_rc_config "$name" -: ${sentinel_enable="NO"} -: ${sentinel_user="redis"} -: ${sentinel_config="/usr/local/etc/$name.conf"} - -command_args="${sentinel_config} --daemonize yes --pidfile ${pidfile}" -required_files="${sentinel_config}" -start_precmd="${name}_checks" -restart_precmd="${name}_checks" - -sentinel_checks() -{ - if [ x`id -u ${sentinel_user}` != x`stat -f %u ${sentinel_config}` ]; then - err 1 "${sentinel_config} must be owned by user ${sentinel_user}" - fi -} - -run_rc_command "$1" |
