Commit f1f64afa by Őry Máté

devenv: restart rabbit after hostname change

parent 3059e324
...@@ -4,6 +4,8 @@ nev=dev-$(hostname) ...@@ -4,6 +4,8 @@ nev=dev-$(hostname)
sudo sed -i /etc/hosts -e "/127.0.1.1/ s/.*/127.0.1.1 $nev.cloud.ik.bme.hu $nev/" sudo sed -i /etc/hosts -e "/127.0.1.1/ s/.*/127.0.1.1 $nev.cloud.ik.bme.hu $nev/"
sudo tee /etc/hostname <<<$nev sudo tee /etc/hostname <<<$nev
sudo hostname $nev sudo hostname $nev
sudo /etc/init.d/rabbitmq-server stop || true
sudo /etc/init.d/rabbitmq-server start
sudo pip install django_extensions sudo pip install django_extensions
sudo pip install django-nose sudo pip install django-nose
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment