Migrate IPFS repo automatically if necessary
go-ipfs can automatically migrate the repo if necessart after a software upgrade, but it needs to the `--migrate` option flag to do so.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user