Lines 33-47
Link Here
|
33 |
start_precmd() |
33 |
start_precmd() |
34 |
{ |
34 |
{ |
35 |
if [ ! -d ${synapse_pidfile%/*} ] ; then |
35 |
if [ ! -d ${synapse_pidfile%/*} ] ; then |
36 |
install -d -o synapse -g wheel ${synapse_pidfile%/*}; |
36 |
install -d -o ${synapse_user} -g wheel ${synapse_pidfile%/*}; |
37 |
fi |
37 |
fi |
38 |
|
38 |
|
39 |
if [ ! -d ${synapse_dbdir} ] ; then |
39 |
if [ ! -d ${synapse_dbdir} ] ; then |
40 |
install -d -o synapse -g wheel ${synapse_dbdir}; |
40 |
install -d -o ${synapse_user} -g wheel ${synapse_dbdir}; |
41 |
fi |
41 |
fi |
42 |
|
42 |
|
43 |
if [ ! -d ${synapse_logdir} ] ; then |
43 |
if [ ! -d ${synapse_logdir} ] ; then |
44 |
install -d -o synapse -g wheel ${synapse_logdir}; |
44 |
install -d -o ${synapse_user} -g wheel ${synapse_logdir}; |
45 |
fi |
45 |
fi |
46 |
|
46 |
|
47 |
if $(grep -q CHANGEME ${synapse_conf}) ; then |
47 |
if $(grep -q CHANGEME ${synapse_conf}) ; then |