mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-15 17:16:59 +02:00
Improved Message Broker stability
This commit is contained in:
parent
f6752b0d26
commit
82c8b27f69
7 changed files with 502 additions and 186 deletions
|
@ -455,7 +455,14 @@ EOF
|
|||
cp /opt/registry/docs/das.service /etc/systemd/system/
|
||||
systemctl daemon-reload
|
||||
systemctl enable das.service
|
||||
|
||||
|
||||
echo "Installing Message Broker."
|
||||
cp /opt/registry/docs/msg_producer.service /etc/systemd/system/
|
||||
cp /opt/registry/docs/msg_worker.service /etc/systemd/system/
|
||||
systemctl daemon-reload
|
||||
systemctl enable msg_producer
|
||||
systemctl enable msg_worker
|
||||
|
||||
echo "Configuring control panel admin."
|
||||
sed -i "s|\$email = 'admin@example.com';|\$email = '$PANEL_EMAIL';|g" /var/www/cp/bin/create_admin_user.php
|
||||
sed -i "s|\$newPW = 'admin_password';|\$newPW = '$PANEL_PASSWORD';|g" /var/www/cp/bin/create_admin_user.php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue