mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
4bae727d2a
Feature safe: yes
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
bin/redis-benchmark
|
|
bin/redis-check-aof
|
|
bin/redis-check-dump
|
|
bin/redis-cli
|
|
bin/redis-sentinel
|
|
bin/redis-server
|
|
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
|
|
etc/redis.conf.sample
|
|
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
|
|
@unexec (cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample && rm -f %D/etc/sentinel.conf) || true
|
|
etc/sentinel.conf.sample
|
|
@exec [ -f %B/sentinel.conf ] || cp %B/%f %B/sentinel.conf
|
|
@exec [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%
|
|
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
|
|
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi
|
|
@exec [ -d %%REDIS_LOGDIR%% ] || mkdir -p %%REDIS_LOGDIR%%
|
|
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_LOGDIR%%
|
|
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_LOGDIR%% 2>/dev/null; fi
|
|
@exec [ -d %%REDIS_RUNDIR%% ] || mkdir -p %%REDIS_RUNDIR%%
|
|
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_RUNDIR%%
|
|
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_RUNDIR%% 2>/dev/null; fi
|