FreeBSD Bugzilla – Attachment 234490 Details for
Bug 264500
databases/redis: Create piddir at startup (tmpfs)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch for port
redis-piddir-tmpfs.diff.txt (text/plain), 1.21 KB, created by
Bryan Drewery
on 2022-06-06 15:12:39 UTC
(
hide
)
Description:
patch for port
Filename:
MIME Type:
Creator:
Bryan Drewery
Created:
2022-06-06 15:12:39 UTC
Size:
1.21 KB
patch
obsolete
>databases/redis: Create piddir at startup. > >This allows /var/run to be on tmpfs. > >diff --git databases/redis/Makefile databases/redis/Makefile >index 34c1a23299d3..ddf595ec5bb4 100644 >--- databases/redis/Makefile >+++ databases/redis/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= redis > DISTVERSION= 7.0.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= databases > MASTER_SITES= https://download.redis.io/releases/ > >@@ -87,6 +87,7 @@ REDIS_LOGDIR?= /var/log/redis > SUB_FILES= pkg-message > SUB_LIST+= PORTNAME=${PORTNAME} \ > REDIS_DBDIR=${REDIS_DBDIR} \ >+ REDIS_GROUP=${GROUPS} \ > REDIS_LOGDIR=${REDIS_LOGDIR} \ > REDIS_RUNDIR=${REDIS_RUNDIR} \ > REDIS_USER=${USERS} >diff --git databases/redis/files/redis.in databases/redis/files/redis.in >index d18063c3a504..1c3b60be30b4 100644 >--- databases/redis/files/redis.in >+++ databases/redis/files/redis.in >@@ -33,6 +33,7 @@ load_rc_config "$name" > > command_args="${redis_config}" > required_files="${redis_config}" >+start_precmd="${name}_prestart" > > _profile_exists() { > for _p in ${redis_profiles}; do >@@ -64,4 +65,8 @@ elif [ -n "${redis_profiles}" ]; then > exit 0 > fi > >+redis_prestart() { >+ install -d -m 755 -o "${redis_user}" -g "%%REDIS_GROUP%%" "${pidfile%/*}" >+} >+ > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 264500
: 234490