bots: Move zephyr-related files to api/integrations/zephyr/.
This commit is contained in:
parent
f0beaa3f1e
commit
3dda07bad0
|
@ -18,7 +18,7 @@ open(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/zulip/zulip/bots/zmirror_private.conf.template"
|
template = "/home/zulip/zulip/api/integrations/zephyr/zmirror_private.conf.template"
|
||||||
template_data = open(template).read()
|
template_data = open(template).read()
|
||||||
session_path = "/home/zulip/zephyr_sessions/%s" % (program_name,)
|
session_path = "/home/zulip/zephyr_sessions/%s" % (program_name,)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[program:zmirror-USERNAME]
|
[program:zmirror-USERNAME]
|
||||||
command=/home/zulip/zulip/bots/zephyr_mirror_backend.py --root-path=/home/zulip/zulip --user=USERNAME --log-path=/home/zulip/logs/mirror-log-%(program_name)s --use-sessions --session-path=/home/zulip/zephyr_sessions/%(program_name)s --api-key-file=/home/zulip/api-keys/%(program_name)s --ignore-expired-tickets --nagios-path=/home/zulip/mirror_status/%(program_name)s --nagios-class=zulip-mirror-nagios --site=https://zephyr.zulipchat.com
|
command=/home/zulip/zulip/api/integrations/zephyr/zephyr_mirror_backend.py --root-path=/home/zulip/zulip --user=USERNAME --log-path=/home/zulip/logs/mirror-log-%(program_name)s --use-sessions --session-path=/home/zulip/zephyr_sessions/%(program_name)s --api-key-file=/home/zulip/api-keys/%(program_name)s --ignore-expired-tickets --nagios-path=/home/zulip/mirror_status/%(program_name)s --nagios-class=zulip-mirror-nagios --site=https://zephyr.zulipchat.com
|
||||||
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)
|
Loading…
Reference in a new issue