mirror of https://github.com/zulip/zulip.git
puppet: Stop creating a /home/zulip/logs.
This was last really used in d7a3570c7e
, in 2013, when it was
`/home/humbug/logs`.
Repoint the one obscure piece of tooling that writes there, and remove
the places that created it.
This commit is contained in:
parent
7f2514b316
commit
372bba4a8e
|
@ -181,7 +181,6 @@ class zulip::app_frontend_base {
|
||||||
|
|
||||||
file { [
|
file { [
|
||||||
'/home/zulip/tornado',
|
'/home/zulip/tornado',
|
||||||
'/home/zulip/logs',
|
|
||||||
'/home/zulip/prod-static',
|
'/home/zulip/prod-static',
|
||||||
'/home/zulip/deployments',
|
'/home/zulip/deployments',
|
||||||
'/srv/zulip-npm-cache',
|
'/srv/zulip-npm-cache',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[program:zmirror]
|
[program:zmirror]
|
||||||
command=/home/zulip/python-zulip-api/zulip/integrations/zephyr/zephyr_mirror.py --site=https://zephyr.zulipchat.com --stamp-path=/home/zulip/ --user=tabbott/extra --forward-class-messages --log-path=/home/zulip/logs/mirror-log --on-startup-command="/home/zulip/python-zulip-api/zulip/integrations/zephyr/zmirror-renew-kerberos"
|
command=/home/zulip/python-zulip-api/zulip/integrations/zephyr/zephyr_mirror.py --site=https://zephyr.zulipchat.com --stamp-path=/home/zulip/ --user=tabbott/extra --forward-class-messages --log-path=/var/log/zulip/mirror-log --on-startup-command="/home/zulip/python-zulip-api/zulip/integrations/zephyr/zmirror-renew-kerberos"
|
||||||
priority=200 ; the relative start priority (default 999)
|
priority=200 ; the relative start priority (default 999)
|
||||||
autostart=true ; start at supervisord start (default: true)
|
autostart=true ; start at supervisord start (default: true)
|
||||||
autorestart=true ; whether/when to restart (default: unexpected)
|
autorestart=true ; whether/when to restart (default: unexpected)
|
||||||
|
|
|
@ -50,7 +50,6 @@ if args.remote_url:
|
||||||
remote_url = args.remote_url
|
remote_url = args.remote_url
|
||||||
|
|
||||||
os.makedirs(DEPLOYMENTS_DIR, exist_ok=True)
|
os.makedirs(DEPLOYMENTS_DIR, exist_ok=True)
|
||||||
os.makedirs("/home/zulip/logs", exist_ok=True)
|
|
||||||
|
|
||||||
error_rerun_script = f"{DEPLOYMENTS_DIR}/current/scripts/upgrade-zulip-from-git {refname}"
|
error_rerun_script = f"{DEPLOYMENTS_DIR}/current/scripts/upgrade-zulip-from-git {refname}"
|
||||||
get_deployment_lock(error_rerun_script)
|
get_deployment_lock(error_rerun_script)
|
||||||
|
|
Loading…
Reference in New Issue