Update systemd unit before restart
This commit is contained in:
parent
fddacdfd13
commit
5d90b4d0f1
|
@ -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
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue