summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-04-30 13:53:23 +0300
committerLV-426 <lv-426@taproot.org.il>2015-05-01 03:17:30 +0300
commitc9c053bef51c83242c27cb53702a46434cee9236 (patch)
tree46946c873abd8fb57d61048af5dbd774de414f64 /src
parent4f7f23caabcbc84160873e9a5ec53b9cccdbd320 (diff)
rz-mux-tool.sh: misc: quotation, indent
Diffstat (limited to 'src')
-rw-r--r--src/local/rz-mux/rz-mux-tool.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/local/rz-mux/rz-mux-tool.sh b/src/local/rz-mux/rz-mux-tool.sh
index 5e12f403..10fca6ba 100644
--- a/src/local/rz-mux/rz-mux-tool.sh
+++ b/src/local/rz-mux/rz-mux-tool.sh
@@ -79,10 +79,10 @@ install_instance__neo4j() {
/etc/neo4j/mux-conf.d/${RZI_NAME}/ssl
ln -vfs -T /etc/neo4j/mux-conf.d/${RZI_NAME} /var/lib/neo4j/mux-root.d/${RZI_NAME}/conf
- ln -vfs -T /var/lib/neo4j/bin /var/lib/neo4j/mux-root.d/${RZI_NAME}/bin
- ln -vfs -T /usr/share/neo4j/lib /var/lib/neo4j/mux-root.d/${RZI_NAME}/lib
- ln -vfs -T /usr/share/neo4j/plugins /var/lib/neo4j/mux-root.d/${RZI_NAME}/plugins
- ln -vfs -T /usr/share/neo4j/system /var/lib/neo4j/mux-root.d/${RZI_NAME}/system
+ ln -vfs -T /var/lib/neo4j/bin /var/lib/neo4j/mux-root.d/${RZI_NAME}/bin
+ ln -vfs -T /usr/share/neo4j/lib /var/lib/neo4j/mux-root.d/${RZI_NAME}/lib
+ ln -vfs -T /usr/share/neo4j/plugins /var/lib/neo4j/mux-root.d/${RZI_NAME}/plugins
+ ln -vfs -T /usr/share/neo4j/system /var/lib/neo4j/mux-root.d/${RZI_NAME}/system
# set modes, ownership
chmod +x ${RZI_NEO4J_INIT_SCRIPT_PATH}
@@ -142,7 +142,7 @@ APACHE_USER=www-data
NEO4J_USER=neo4j
RZI_NAME=$2 # rhizi-instance name, preferable a FQDN
-RZI_NEO4J_SVC_NAME='neo4j-service__${RZI_NAME}'
+RZI_NEO4J_SVC_NAME=neo4j-service__${RZI_NAME}
RZI_NEO4J_INIT_SCRIPT_PATH=/etc/init.d/${RZI_NEO4J_SVC_NAME}
RZI_NEO4J_PID_FILE=/var/run/${RZI_NEO4J_SVC_NAME}
RZI_RZ_PID_FILE=/var/run/rhizi/${RZI_NAME}.pid
@@ -152,8 +152,8 @@ RZI_RZ_PID_FILE=/var/run/rhizi/${RZI_NAME}.pid
#
[ $UID != 0 ] && die 'must be root to continue.'
[ -z ${RZI_NAME} ] && die 'RZI_NAME arg missing, aborting'
-[ -e ${RZI_NEO4J_PID_FILE} ] && die '${RZI_NEO4J_SVC_NAME} server seems to be running, please stop it before continuing'
-[ -e ${RZI_RZ_PID_FILE} ] && die '${RZI_RZ_PID_FILE} server seems to be running, please stop it before continuing'
+[ -e ${RZI_NEO4J_PID_FILE} ] && die "${RZI_NEO4J_SVC_NAME} server seems to be running, please stop it before continuing"
+[ -e ${RZI_RZ_PID_FILE} ] && die "${RZI_RZ_PID_FILE} server seems to be running, please stop it before continuing"
case $1 in
install)