mirror of https://github.com/zulip/zulip.git
prod install: Add the CentOS version of SUPERVISOR_CONF_DIR.
This commit is contained in:
parent
a3a662c7d2
commit
c2dcaf48d8
|
@ -309,10 +309,18 @@ esac
|
|||
|
||||
"$ZULIP_PATH"/scripts/zulip-puppet-apply -f
|
||||
|
||||
case " $os_id $os_id_like " in
|
||||
*' debian '*)
|
||||
SUPERVISOR_CONF_DIR="/etc/supervisor/conf.d"
|
||||
;;
|
||||
*' rhel '*)
|
||||
SUPERVISOR_CONF_DIR="/etc/supervisord.d/conf.d"
|
||||
;;
|
||||
esac
|
||||
# Detect which features were selected for the below
|
||||
set +e
|
||||
[ -e "/etc/init.d/nginx" ]; has_nginx=$?
|
||||
[ -e "/etc/supervisor/conf.d/zulip.conf" ]; has_appserver=$?
|
||||
[ -e "$SUPERVISOR_CONF_DIR/zulip.conf" ]; has_appserver=$?
|
||||
[ -e "/etc/cron.d/rabbitmq-numconsumers" ]; has_rabbit=$?
|
||||
[ -e "/etc/init.d/postgresql" ]; has_postgres=$?
|
||||
set -e
|
||||
|
|
Loading…
Reference in New Issue