mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
3beb6fb6e6
Update pkg-plist to be more convenient with pkgng(1).
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 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
|