git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some odd code was obviously broken, it was using a str variable and then
[sfa.git]
/
systemd
/
sfa-setup.sh
diff --git
a/systemd/sfa-setup.sh
b/systemd/sfa-setup.sh
index
7d379d6
..
07698ca
100755
(executable)
--- a/
systemd/sfa-setup.sh
+++ b/
systemd/sfa-setup.sh
@@
-78,6
+78,7
@@
function start-db () {
export PGPORT=$SFA_DB_PORT
# only if enabled
export PGPORT=$SFA_DB_PORT
# only if enabled
+ # this is because the DB can run on a separate box as well
[ "$SFA_DB_ENABLED" == 1 -o "$SFA_DB_ENABLED" == True ] || return
postgresql_setting port "'$SFA_DB_PORT'"
[ "$SFA_DB_ENABLED" == 1 -o "$SFA_DB_ENABLED" == True ] || return
postgresql_setting port "'$SFA_DB_PORT'"