Merge pull request #16 from 67P/bugfix/14-restart_on_update

Restart the service on update
This commit is contained in:
Basti 2019-08-14 19:01:33 +02:00 committed by GitHub
commit 2dfbc073ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@ GRAPH
build-essential (8.1.1)
mingw (>= 1.1)
seven_zip (>= 0.0.0)
ipfs (0.4.0)
ipfs (0.4.2)
ark (>= 0.0.0)
mingw (2.1.0)
seven_zip (>= 0.0.0)

View File

@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
license 'MIT'
description 'Installs/Configures ipfs'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.4.1'
version '0.4.2'
supports %w(ubuntu debian)

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