Skip to content

Commit

Permalink
fix: align systemd unit file with default IPFS installation path (#10163
Browse files Browse the repository at this point in the history
)
  • Loading branch information
burlito authored Oct 5, 2023
1 parent c80a5a8 commit 6dbae76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion misc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Description=IPFS daemon
[Service]
# Environment="IPFS_PATH=/data/ipfs" # optional path to ipfs init directory if not default ($HOME/.ipfs)
ExecStart=/usr/bin/ipfs daemon
ExecStart=/usr/local/bin/ipfs daemon
Restart=on-failure
[Install]
Expand Down
4 changes: 2 additions & 2 deletions misc/systemd/ipfs-hardened.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# To overwrite a variable, like ExecStart you have to specify it once
# blank and a second time with a new value, like:
# ExecStart=
# ExecStart=/usr/bin/ipfs daemon --flag1 --flag2
# ExecStart=/usr/local/bin/ipfs daemon --flag1 --flag2
#
# For more info about custom unit files see systemd.unit(5).

Expand Down Expand Up @@ -70,7 +70,7 @@ User=ipfs
Group=ipfs
StateDirectory=ipfs
Environment=IPFS_PATH="${HOME}"
ExecStart=/usr/bin/ipfs daemon --init --migrate
ExecStart=/usr/local/bin/ipfs daemon --init --migrate
Restart=on-failure
KillSignal=SIGINT

Expand Down
4 changes: 2 additions & 2 deletions misc/systemd/ipfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# To overwrite a variable, like ExecStart you have to specify it once
# blank and a second time with a new value, like:
# ExecStart=
# ExecStart=/usr/bin/ipfs daemon --flag1 --flag2
# ExecStart=/usr/local/bin/ipfs daemon --flag1 --flag2
#
# For more info about custom unit files see systemd.unit(5).

Expand Down Expand Up @@ -41,7 +41,7 @@ User=ipfs
Group=ipfs
StateDirectory=ipfs
Environment=IPFS_PATH="${HOME}"
ExecStart=/usr/bin/ipfs daemon --init --migrate
ExecStart=/usr/local/bin/ipfs daemon --init --migrate
Restart=on-failure
KillSignal=SIGINT

Expand Down

0 comments on commit 6dbae76

Please sign in to comment.