Run ipfs-cluster with the --upgrade switch
It upgrades the state if needed
This commit is contained in:
parent
81fcb97657
commit
c6c5d00f36
|
@ -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.1.0'
|
||||
version '0.1.1'
|
||||
|
||||
supports %w(ubuntu debian)
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
|
|||
DESC="ipfs-cluster daemon"
|
||||
NAME=ipfs-cluster
|
||||
DAEMON=/usr/local/bin/ipfs-cluster-service
|
||||
DAEMON_ARGS="daemon"
|
||||
DAEMON_ARGS="daemon --upgrade"
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Description=Start ipfs-cluster
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/ipfs-cluster-service daemon
|
||||
ExecStart=/usr/local/bin/ipfs-cluster-service daemon --upgrade
|
||||
User=ipfs
|
||||
Group=ipfs
|
||||
Restart=always
|
||||
|
|
Loading…
Reference in New Issue