diff --git a/misc/systemd/ipfs.service b/misc/systemd/ipfs.service index 73109dccd9f..78bf3c79937 100644 --- a/misc/systemd/ipfs.service +++ b/misc/systemd/ipfs.service @@ -14,7 +14,7 @@ After=network.target Type=notify User=ipfs Group=ipfs -WorkingDirectory=/var/lib/ipfs +StateDirectory=ipfs ExecStart=/usr/bin/ipfs daemon --init --migrate Restart=on-failure KillSignal=SIGINT