From: Tom Hughes Date: Tue, 13 Sep 2016 07:55:08 +0000 (+0100) Subject: Use systemctl to restart replication X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/fa4726fe7b8c651544b41112c9dc045a51a86cae?hp=60735f534585baea7c17d0320c22bb56f19ddabf;ds=sidebyside Use systemctl to restart replication --- diff --git a/cookbooks/tile/templates/default/replicate.logrotate.erb b/cookbooks/tile/templates/default/replicate.logrotate.erb index 5b211c791..9c2c29f22 100644 --- a/cookbooks/tile/templates/default/replicate.logrotate.erb +++ b/cookbooks/tile/templates/default/replicate.logrotate.erb @@ -5,6 +5,6 @@ delaycompress notifempty postrotate - /usr/bin/service replicate restart + /bin/systemctl try-restart replicate endscript }