Fix install path in install.sh

This commit is contained in:
Disassembler 2018-10-26 15:02:11 +02:00
parent 203a70bdbd
commit 8be2bb2083
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
26 changed files with 26 additions and 26 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Configure ActiveMQ
mkdir -p /srv/activemq/data

View File

@ -2,6 +2,6 @@
<td>{{ app_title }}</td>
<td class="center"><input type="checkbox" class="app-visible"{% if app not in conf['apps'] %} disabled{% elif conf['apps'][app]['visible'] %} checked{% endif %}></td>
<td class="center"><input type="checkbox" class="app-autostart"{% if app not in conf['apps'] %} disabled{% elif is_service_autostarted(app) %} checked{% endif %}></td>
<td>{% if app not in conf['apps'] %} N/A{% elif is_service_started(app) %}<span class="info">Spuštěna</span>{% else %}<span class="error">Zastavena</span>{% endif %}</td>
<td>{% if app not in conf['apps'] %} Není nainstalována{% elif is_service_started(app) %}<span class="info">Spuštěna</span>{% else %}<span class="error">Zastavena</span>{% endif %}</td>
<td>{% if app not in conf['apps'] %}<a href="#" class="app-install">Instalovat</a>{% else %}{% if is_service_started(app) %}<a href="#" class="app-stop">Zastavit</a>{% else %}<a href="#" class="app-start">Spustit</a>{% endif %}, <a href="#" class="app-uninstall">Odinstalovat</a>{% endif %}</td>
</tr>

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Configure CKAN DataPusher
mkdir -p /srv/ckan-datapusher/conf /srv/ckan-datapusher/data

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Configure FrontlineSMS
mkdir -p /srv/frontlinesms/data

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Create MariaDB instance
mkdir -p /srv/mariadb/conf /srv/mariadb/data

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/mariadb ] && service mariadb start && STOP_MARIADB=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/activemq ] && service activemq start && STOP_ACTIVEMQ=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Configure OpenMapKit
export OPENMAPKIT_ADMIN_USER="admin"

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance
mkdir -p /srv/postgres/data

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Create RabbitMQ directory structure
mkdir -p /srv/rabbitmq/data

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Configure Redis
mkdir -p /srv/redis/conf /srv/redis/data

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
export TEMPLATE=${TEMPLATE:-"default"}
# Check prerequisites

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Configure Solr
mkdir -p /srv/solr/data

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))/setup
cd $(realpath $(dirname "${0}"))/install
# Check prerequisites
[ ! -e /run/openrc/started/mariadb ] && service mariadb start && STOP_MARIADB=1