Fix production deployment script.

(imported from commit 5b8398a0075dc297d3f86c65ce2ef43977e57ecb)
This commit is contained in:
Jonathan Dahan 2015-08-20 20:03:33 -07:00
parent 58e5c654fa
commit e95dfd78ed
2 changed files with 3 additions and 4 deletions

View File

@ -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,

View File

@ -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