Skip to content

Commit

Permalink
Merge pull request #7472 from RubenKelevra/feat/systemd_set_ipfs_path
Browse files Browse the repository at this point in the history
systemd: specify repo path, to avoid unnecessary subdirectory
  • Loading branch information
Stebalien authored Jun 16, 2020
2 parents 0ef5ea4 + b47ecd0 commit b431e69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions misc/systemd/ipfs-hardened.service
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Type=notify
User=ipfs
Group=ipfs
StateDirectory=ipfs
Environment=IPFS_PATH="${HOME}"
ExecStart=/usr/bin/ipfs daemon --init --migrate
Restart=on-failure
KillSignal=SIGINT
Expand Down
1 change: 1 addition & 0 deletions misc/systemd/ipfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Type=notify
User=ipfs
Group=ipfs
StateDirectory=ipfs
Environment=IPFS_PATH="${HOME}"
ExecStart=/usr/bin/ipfs daemon --init --migrate
Restart=on-failure
KillSignal=SIGINT
Expand Down

0 comments on commit b431e69

Please sign in to comment.