mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
systemd: add state directory setting
this will inform systemd where the service stores it's persistent data and where it needs write access. Systemd will create the folder and set the right owner rights.
This commit is contained in:
parent
3339ce3b0e
commit
d66004d6db
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user