From 5e5bbe07dc9fc18c71694f1cfa3839ce9dd06292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Thu, 30 Jul 2020 12:16:04 +0200 Subject: [PATCH] Restart gitea after upgrading it --- site-cookbooks/kosmos_gitea/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/kosmos_gitea/recipes/default.rb b/site-cookbooks/kosmos_gitea/recipes/default.rb index e159833..dea96a4 100644 --- a/site-cookbooks/kosmos_gitea/recipes/default.rb +++ b/site-cookbooks/kosmos_gitea/recipes/default.rb @@ -112,6 +112,7 @@ remote_file gitea_binary_path do source node['kosmos_gitea']['binary_url'] checksum node['kosmos_gitea']['binary_checksum'] mode "0755" + notifies :restart, "service[gitea]", :delayed end execute "systemctl daemon-reload" do