Run ipfs-cluster with the --upgrade switch
It upgrades the state if needed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user