1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/databases/redis/pkg-plist
Sergey A. Osokin 3beb6fb6e6 Update from 2.8.7 to 2.8.8.
Update pkg-plist to be more convenient with pkgng(1).
2014-03-31 22:04:26 +00:00

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 if cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample; then rm -f %D/etc/redis.conf; fi
etc/redis.conf.sample
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
@unexec if cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample; then rm -f %D/etc/sentinel.conf; fi
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