zulip/scripts/setup
Anders Kaseorg bc45525369 postgresql-init-db: Fix installation from world-unreadable directory.
This reverts part of commit 476524c0c1
(#18215), to fix this error when running the installer from a
directory that isn’t world-readable:

+ '[' -e /var/run/supervisor.sock ']'
+++ dirname /root/zulip-server-4.1/scripts/setup/postgresql-init-db
++ dirname /root/zulip-server-4.1/scripts/setup
+ su zulip -c /root/zulip-server-4.1/scripts/stop-server
bash: /root/zulip-server-4.1/scripts/stop-server: Permission denied

Zulip installation failed (exit code 126)!

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-05-13 22:00:29 -07:00
..
compare-settings-to-template scripts: Tool to find the diff to an original settings.py prod template. 2021-04-27 21:50:33 -07:00
configure-rabbitmq configure-rabbitmq: Wait for RabbitMQ to start up. 2020-10-15 17:01:00 -07:00
create-db.sql locale: Use `C.UTF-8` rather than `en_US.UTF-8`. 2021-05-04 08:51:46 -07:00
create-pgroonga.sql postgres-create-db: Split into non-pgroonga and pgroonga scripts. 2019-07-17 16:18:22 -07:00
debathena-archive.asc scripts: Initialize setup-apt-repo-debathena. 2018-12-11 13:01:26 -08:00
flush-memcached memcached: Switch from pylibmc to python-binary-memcached. 2020-08-06 12:51:14 -07:00
generate-self-signed-cert shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
generate_secrets.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
initialize-database docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
inline_email_css.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
install install, provision: Treat all nonzero exit codes as failure, not just 1. 2019-07-19 11:22:11 -07:00
ksplice.asc puppet: Add ksplice uptrack for kernel hotpatches. 2021-02-25 18:05:47 -08:00
pgdg.asc install: Use the apt postgres server packages from postgres. 2020-06-16 17:05:46 -07:00
pgroonga-packages.groonga.org.asc install: Use PGroonga packages built for PostgreSQL packages by PGDG 2020-12-18 15:38:21 -08:00
pgroonga-ppa.asc
postgresql-init-db postgresql-init-db: Fix installation from world-unreadable directory. 2021-05-13 22:00:29 -07:00
restore-backup python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
setup-certbot shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
sha256-tarball-to shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
terminate-psql-sessions terminate-psql-sessions: Rely on the caller to set PGHOST, PGUSER. 2020-06-15 21:37:14 -07:00
upgrade-postgresql postgresql: Switch to defaulting to PostgreSQL 13. 2021-04-27 16:55:04 -07:00