Remove cwd magic as it's pkgmgr's responsibility now

This commit is contained in:
Disassembler 2019-10-14 08:29:55 +02:00
parent 4458be2763
commit 5a43c23b83
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
21 changed files with 3 additions and 40 deletions

@ -1 +1 @@
Subproject commit ecfa2251877abd38e681b0faa35fc4c246723e11 Subproject commit ecb09001d49ddd160580a1f1de72bb7e06c4179c

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/ckan/postgres_data mkdir -p /srv/ckan/postgres_data
chown -R 105432:105432 /srv/ckan/postgres_data chown -R 105432:105432 /srv/ckan/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/crisiscleanup/postgres_data mkdir -p /srv/crisiscleanup/postgres_data
chown -R 105432:105432 /srv/crisiscleanup/postgres_data chown -R 105432:105432 /srv/crisiscleanup/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/cts/postgres_data mkdir -p /srv/cts/postgres_data
chown -R 105432:105432 /srv/cts/postgres_data chown -R 105432:105432 /srv/cts/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/ecogis/postgres_data mkdir -p /srv/ecogis/postgres_data
chown -R 105432:105432 /srv/ecogis/postgres_data chown -R 105432:105432 /srv/ecogis/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Configure FrontlineSMS # Configure FrontlineSMS
mkdir -p /srv/frontlinesms/flsms_data mkdir -p /srv/frontlinesms/flsms_data
export FRONTLINESMS_ADMIN_USER="admin" export FRONTLINESMS_ADMIN_USER="admin"

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/gnuhealth/postgres_data mkdir -p /srv/gnuhealth/postgres_data
chown -R 105432:105432 /srv/gnuhealth/postgres_data chown -R 105432:105432 /srv/gnuhealth/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/kanboard/postgres_data mkdir -p /srv/kanboard/postgres_data
chown -R 105432:105432 /srv/kanboard/postgres_data chown -R 105432:105432 /srv/kanboard/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create MariaDB instance # Create MariaDB instance
mkdir -p /srv/mifosx/mariadb_conf /srv/mifosx/mariadb_data mkdir -p /srv/mifosx/mariadb_conf /srv/mifosx/mariadb_data
chown 103306:103306 /srv/mifosx/mariadb_data chown 103306:103306 /srv/mifosx/mariadb_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/motech/postgres_data mkdir -p /srv/motech/postgres_data
chown -R 105432:105432 /srv/motech/postgres_data chown -R 105432:105432 /srv/motech/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/odoo/postgres_data mkdir -p /srv/odoo/postgres_data
chown -R 105432:105432 /srv/odoo/postgres_data chown -R 105432:105432 /srv/odoo/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/opendatakit/postgres_data mkdir -p /srv/opendatakit/postgres_data
chown -R 105432:105432 /srv/opendatakit/postgres_data chown -R 105432:105432 /srv/opendatakit/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Configure OpenMapKit # Configure OpenMapKit
export OPENMAPKIT_ADMIN_USER="admin" export OPENMAPKIT_ADMIN_USER="admin"
export OPENMAPKIT_ADMIN_PWD=$(head -c 12 /dev/urandom | base64 | tr -d '+/=') export OPENMAPKIT_ADMIN_PWD=$(head -c 12 /dev/urandom | base64 | tr -d '+/=')

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/pandora/postgres_data mkdir -p /srv/pandora/postgres_data
chown -R 105432:105432 /srv/pandora/postgres_data chown -R 105432:105432 /srv/pandora/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/sahana-demo/postgres_data mkdir -p /srv/sahana-demo/postgres_data
chown -R 105432:105432 /srv/sahana-demo/postgres_data chown -R 105432:105432 /srv/sahana-demo/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/sahana/postgres_data mkdir -p /srv/sahana/postgres_data
chown -R 105432:105432 /srv/sahana/postgres_data chown -R 105432:105432 /srv/sahana/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/sambro/postgres_data mkdir -p /srv/sambro/postgres_data
chown -R 105432:105432 /srv/sambro/postgres_data chown -R 105432:105432 /srv/sambro/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/seeddms/postgres_data mkdir -p /srv/seeddms/postgres_data
chown -R 105432:105432 /srv/seeddms/postgres_data chown -R 105432:105432 /srv/seeddms/postgres_data

View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
cd $(realpath $(dirname "${0}")) # Prevent indexer jobs to run simultaneously by using a file lock
cd /srv/seeddms/seeddms/utils/
( (
if ! flock -n 3; then if ! flock -n 3; then
echo "Indexer is still running" echo "Indexer is still running"

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create Postgres instance # Create Postgres instance
mkdir -p /srv/sigmah/postgres_data mkdir -p /srv/sigmah/postgres_data
chown -R 105432:105432 /srv/sigmah/postgres_data chown -R 105432:105432 /srv/sigmah/postgres_data

View File

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
set -ev set -ev
cd $(realpath $(dirname "${0}"))/install
# Create MariaDB instance # Create MariaDB instance
mkdir -p /srv/ushahidi/mariadb_conf /srv/ushahidi/mariadb_data mkdir -p /srv/ushahidi/mariadb_conf /srv/ushahidi/mariadb_data
chown 103306:103306 /srv/ushahidi/mariadb_data chown 103306:103306 /srv/ushahidi/mariadb_data