Restart the service on update

A restart notification on the service was missing on the ark resource
that takes care of downloading and installing/updating go-ipfs

Fixes #14
This commit is contained in:
Greg Karékinian
2019-08-14 17:02:20 +02:00
parent 5c31191ff8
commit 200552d1b7
3 changed files with 3 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ ark 'ipfs' do
url "https://dist.ipfs.io/go-ipfs/v#{version}/go-ipfs_v#{version}_linux-amd64.tar.gz"
checksum node['ipfs']['checksum']
has_binaries ['ipfs']
notifies :restart, 'service[ipfs]', :delayed
end
execute 'ipfs init --empty-repo' do