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'
|
license 'MIT'
|
||||||
description 'Installs/Configures ipfs'
|
description 'Installs/Configures ipfs'
|
||||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||||
version '0.1.0'
|
version '0.1.1'
|
||||||
|
|
||||||
supports %w(ubuntu debian)
|
supports %w(ubuntu debian)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
|
|||||||
DESC="ipfs-cluster daemon"
|
DESC="ipfs-cluster daemon"
|
||||||
NAME=ipfs-cluster
|
NAME=ipfs-cluster
|
||||||
DAEMON=/usr/local/bin/ipfs-cluster-service
|
DAEMON=/usr/local/bin/ipfs-cluster-service
|
||||||
DAEMON_ARGS="daemon"
|
DAEMON_ARGS="daemon --upgrade"
|
||||||
PIDFILE=/var/run/$NAME.pid
|
PIDFILE=/var/run/$NAME.pid
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=Start ipfs-cluster
|
Description=Start ipfs-cluster
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/bin/ipfs-cluster-service daemon
|
ExecStart=/usr/local/bin/ipfs-cluster-service daemon --upgrade
|
||||||
User=ipfs
|
User=ipfs
|
||||||
Group=ipfs
|
Group=ipfs
|
||||||
Restart=always
|
Restart=always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user