From 74a1f1b8a17f8af54b2fec362fbfc022bd293328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 11 Dec 2018 10:46:21 +0100 Subject: [PATCH] Update the ipfs cookbook to the latest version --- Berksfile.lock | 2 +- cookbooks/ipfs/templates/default/ipfs.initd.service.erb | 2 +- cookbooks/ipfs/templates/default/ipfs.systemd.service.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Berksfile.lock b/Berksfile.lock index de82422..9478720 100644 --- a/Berksfile.lock +++ b/Berksfile.lock @@ -22,7 +22,7 @@ DEPENDENCIES iis (= 6.7.1) ipfs git: https://github.com/67P/ipfs-cookbook.git - revision: ec2cda08f617e7ea617c40e8d2df4e450d84f92e + revision: b98b45584cdb00a1a7b41e837352ce4156f127e7 ref: master logrotate (= 2.2.0) mariadb (= 0.3.1) diff --git a/cookbooks/ipfs/templates/default/ipfs.initd.service.erb b/cookbooks/ipfs/templates/default/ipfs.initd.service.erb index 38e5d74..7315dd7 100644 --- a/cookbooks/ipfs/templates/default/ipfs.initd.service.erb +++ b/cookbooks/ipfs/templates/default/ipfs.initd.service.erb @@ -15,7 +15,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin DESC="ipfs daemon" NAME=ipfs DAEMON=/usr/local/bin/ipfs -DAEMON_ARGS="daemon --mount" +DAEMON_ARGS="daemon --mount --migrate" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME diff --git a/cookbooks/ipfs/templates/default/ipfs.systemd.service.erb b/cookbooks/ipfs/templates/default/ipfs.systemd.service.erb index 2217b29..f621ea5 100644 --- a/cookbooks/ipfs/templates/default/ipfs.systemd.service.erb +++ b/cookbooks/ipfs/templates/default/ipfs.systemd.service.erb @@ -2,7 +2,7 @@ Description=Start ipfs [Service] -ExecStart=/usr/local/bin/ipfs daemon +ExecStart=/usr/local/bin/ipfs daemon --migrate User=ipfs Group=ipfs Restart=always