Update systemd unit before restart

This commit is contained in:
vlaborie 2017-08-31 11:57:47 +02:00
parent fddacdfd13
commit 5d90b4d0f1

View file

@ -223,6 +223,7 @@ bundle exec rake -qf ~/www/Rakefile redmine:plugins:migrate[plugin_name,0]
cd ~/www cd ~/www
git pull git pull
bundle update bundle update
systemctl --user daemon-reload
systemctl --user restart puma systemctl --user restart puma
systemctl --user status puma systemctl --user status puma
~~~ ~~~
@ -237,6 +238,7 @@ git checkout $BRANCHE
rm Gemfile.lock rm Gemfile.lock
bundle update bundle update
bundle exec rake -q db:migrate bundle exec rake -q db:migrate
systemctl --user daemon-reload
systemctl --user start puma systemctl --user start puma
systemctl --user status puma systemctl --user status puma
~~~ ~~~