mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Before this commit, provisioning was done by executing provision.py, which printed the log directly to stdout, making debugging harder. This commit creates a wrapper bash script 'provision' in tools, which calls 'zulip/scripts/tools/provision_vm.py' (the new location of provision.py) and prints all the output to 'zulip/var/log/zulip/zulip_provision.log' via 'tee'. Travis tests and docs have been modified accordingly.
8 lines
128 B
Bash
Executable File
8 lines
128 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set -x
|
|
|
|
tools/provision --travis
|
|
sudo mkdir -p /var/lib/nagios_state
|
|
sudo chown travis /var/lib/nagios_state
|