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 #!/bin/sh
set -e set -e
cd $(realpath $(dirname "${0}"))/setup cd $(realpath $(dirname "${0}"))/install
# Configure ActiveMQ # Configure ActiveMQ
mkdir -p /srv/activemq/data mkdir -p /srv/activemq/data

View File

@ -2,6 +2,6 @@
<td>{{ app_title }}</td> <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-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 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> <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> </tr>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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