mirror of https://github.com/zulip/zulip.git
Fix production deployment script.
(imported from commit 5b8398a0075dc297d3f86c65ce2ef43977e57ecb)
This commit is contained in:
parent
58e5c654fa
commit
e95dfd78ed
|
@ -22,13 +22,12 @@ class zulip::base {
|
|||
|
||||
group { 'zulip':
|
||||
ensure => present,
|
||||
gid => '1000',
|
||||
}
|
||||
|
||||
user { 'zulip':
|
||||
ensure => present,
|
||||
uid => '1000',
|
||||
gid => '1000',
|
||||
require => Group['zulip'],
|
||||
gid => 'zulip',
|
||||
shell => '/bin/bash',
|
||||
home => '/home/zulip',
|
||||
managehome => true,
|
||||
|
|
|
@ -25,7 +25,7 @@ if [ -e "/etc/init.d/nginx" ]; then
|
|||
fi
|
||||
|
||||
/root/zulip/scripts/setup/generate_enterprise_secrets.py
|
||||
mv /root/zulip/zproject/local_settings_generated.py /etc/zulip/settings.py
|
||||
mv /root/zulip/zproject/local_settings_template.py /etc/zulip/settings.py
|
||||
ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py
|
||||
|
||||
/root/zulip/scripts/setup/configure-rabbitmq
|
||||
|
|
Loading…
Reference in New Issue