Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion misc/systemd/ipfs-hardened.service
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Type=notify
User=ipfs
Group=ipfs
StateDirectory=ipfs
Environment=IPFS_PATH="${HOME}"
Environment=IPFS_PATH="%S"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Environment=IPFS_PATH="%S"
Environment=IPFS_PATH="%D"

Seems more appropriate to use "data" directory instead of "state" directory.

ExecStart=/usr/local/bin/ipfs daemon --init --migrate
Restart=on-failure
KillSignal=SIGINT
Expand Down
2 changes: 1 addition & 1 deletion misc/systemd/ipfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Type=notify
User=ipfs
Group=ipfs
StateDirectory=ipfs
Environment=IPFS_PATH="${HOME}"
Environment=IPFS_PATH="%S"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Environment=IPFS_PATH="%S"
Environment=IPFS_PATH="%D"

ExecStart=/usr/local/bin/ipfs daemon --init --migrate
Restart=on-failure
KillSignal=SIGINT
Expand Down
Loading