[manual] Move git checkouts from /home/humbug/humbug to /home/humbug/zulip.
(imported from commit d58be28e57fcb3b5585c0018f1dbb53adf5067df)
This commit is contained in:
parent
303e8f8b51
commit
7f8d48e4e0
|
@ -19,7 +19,7 @@ file(api_key_path, "w").write(api_key + "\n")
|
||||||
|
|
||||||
# Setup supervisord configuration
|
# Setup supervisord configuration
|
||||||
supervisor_path = "/etc/supervisor/conf.d/%s.conf" % (program_name,)
|
supervisor_path = "/etc/supervisor/conf.d/%s.conf" % (program_name,)
|
||||||
template = "/home/humbug/humbug/bots/zmirror_private.conf.template"
|
template = "/home/humbug/zulip/bots/zmirror_private.conf.template"
|
||||||
template_data = file(template).read()
|
template_data = file(template).read()
|
||||||
session_path = "/home/humbug/zephyr_sessions/%s" % (program_name,)
|
session_path = "/home/humbug/zephyr_sessions/%s" % (program_name,)
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ if options.sync_subscriptions:
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if options.forward_class_messages and not options.noshard:
|
if options.forward_class_messages and not options.noshard:
|
||||||
sys.path.append("/home/humbug/humbug")
|
sys.path.append("/home/humbug/zulip")
|
||||||
if options.on_startup_command is not None:
|
if options.on_startup_command is not None:
|
||||||
subprocess.call([options.on_startup_command])
|
subprocess.call([options.on_startup_command])
|
||||||
from zerver.lib.parallel import run_parallel
|
from zerver.lib.parallel import run_parallel
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[program:zmirror-USERNAME]
|
[program:zmirror-USERNAME]
|
||||||
command=python /home/humbug/humbug/bots/zephyr_mirror_backend.py --root-path=/home/humbug/humbug/bots --user=USERNAME --log-path=/home/humbug/logs/mirror-log-%(program_name)s --use-sessions --session-path=/home/humbug/zephyr_sessions/%(program_name)s --api-key-file=/home/humbug/api-keys/%(program_name)s --ignore-expired-tickets --nagios-path=/home/humbug/mirror_status/%(program_name)s --nagios-class=zulip-mirror-nagios
|
command=python /home/humbug/zulip/bots/zephyr_mirror_backend.py --root-path=/home/humbug/zulip/bots --user=USERNAME --log-path=/home/humbug/logs/mirror-log-%(program_name)s --use-sessions --session-path=/home/humbug/zephyr_sessions/%(program_name)s --api-key-file=/home/humbug/api-keys/%(program_name)s --ignore-expired-tickets --nagios-path=/home/humbug/mirror_status/%(program_name)s --nagios-class=zulip-mirror-nagios
|
||||||
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)
|
||||||
|
|
|
@ -30,5 +30,5 @@ def commit_notice_destination(repo, branch, commit):
|
||||||
# Return None for cases where you don't want a notice sent
|
# Return None for cases where you don't want a notice sent
|
||||||
return None
|
return None
|
||||||
|
|
||||||
ZULIP_API_PATH = "/home/humbug/humbug/api"
|
ZULIP_API_PATH = "/home/humbug/zulip/api"
|
||||||
ZULIP_SITE = "https://staging.zulip.com"
|
ZULIP_SITE = "https://staging.zulip.com"
|
||||||
|
|
|
@ -10,5 +10,5 @@ STREAM_FOR_NOTIFICATIONS = "trac"
|
||||||
TRAC_BASE_TICKET_URL = "https://trac.zulip.net/ticket"
|
TRAC_BASE_TICKET_URL = "https://trac.zulip.net/ticket"
|
||||||
|
|
||||||
TRAC_NOTIFY_FIELDS = ["description", "summary", "resolution", "comment", "owner"]
|
TRAC_NOTIFY_FIELDS = ["description", "summary", "resolution", "comment", "owner"]
|
||||||
ZULIP_API_PATH = "/home/humbug/humbug/api"
|
ZULIP_API_PATH = "/home/humbug/zulip/api"
|
||||||
ZULIP_SITE = "https://staging.zulip.com"
|
ZULIP_SITE = "https://staging.zulip.com"
|
||||||
|
|
Loading…
Reference in a new issue