From fa4726fe7b8c651544b41112c9dc045a51a86cae Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 13 Sep 2016 08:55:08 +0100 Subject: [PATCH 1/1] Use systemctl to restart replication --- cookbooks/tile/templates/default/replicate.logrotate.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.43.2