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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user