FreeBSD Bugzilla – Attachment 232732 Details for
Bug 262692
net-im/py-matrix-synapse: rc.d script doesn't use synapse_user variable in start_precmd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net-im/py-matrix-synapse: improve rc script
py-matrix-synapse-rc.diff (text/plain), 977 bytes, created by
Sascha Biberhofer
on 2022-03-26 12:41:11 UTC
(
hide
)
Description:
net-im/py-matrix-synapse: improve rc script
Filename:
MIME Type:
Creator:
Sascha Biberhofer
Created:
2022-03-26 12:41:11 UTC
Size:
977 bytes
patch
obsolete
>diff --git a/net-im/py-matrix-synapse/files/synapse.in b/net-im/py-matrix-synapse/files/synapse.in >index c9cfe42e327a..b7dd4fa57eed 100644 >--- a/net-im/py-matrix-synapse/files/synapse.in >+++ b/net-im/py-matrix-synapse/files/synapse.in >@@ -33,21 +33,15 @@ start_precmd=start_precmd > start_precmd() > { > if [ ! -d ${synapse_pidfile%/*} ] ; then >- install -d -o %%USERS%% -g wheel ${synapse_pidfile%/*}; >+ install -d -o ${synapse_user} -g wheel ${synapse_pidfile%/*}; > fi > > if [ ! -d ${synapse_dbdir} ] ; then >- install -d -o %%USERS%% -g wheel ${synapse_dbdir}; >+ install -d -o ${synapse_user} -g wheel ${synapse_dbdir}; > fi > > if [ ! -d ${synapse_logdir} ] ; then >- install -d -o %%USERS%% -g wheel ${synapse_logdir}; >- fi >- >- if $(grep -q CHANGEME ${synapse_conf}) ; then >- echo "Error: Default secret values in config." >- echo "Please replace the CHANGEME values in ${synapse_conf}" >- exit 1 >+ install -d -o ${synapse_user} -g wheel ${synapse_logdir}; > fi > } >
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 Diff
View Attachment As Raw
Flags:
ports
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 262692
:
232595
| 232732