@cryptotaxi247 / kubo / commits / 6dbae7681

fix: align systemd unit file with default IPFS installation path (#10163)

Andrej Manduch committed Oct 5, 2023 at 09:29 UTC 6dbae768180d1f454f4d9d24920be4bc161216b6
3 files changed +5 -5
misc/README.md
+1 -1
@@ -17,7 +17,7 @@ Description=IPFS daemon
17
18 [Service]
19 # Environment="IPFS_PATH=/data/ipfs" # optional path to ipfs init directory if not default ($HOME/.ipfs)
20 -ExecStart=/usr/bin/ipfs daemon
20 +ExecStart=/usr/local/bin/ipfs daemon
21 Restart=on-failure
22
23 [Install]
misc/systemd/ipfs-hardened.service
+2 -2
@@ -8,7 +8,7 @@
8 # To overwrite a variable, like ExecStart you have to specify it once
9 # blank and a second time with a new value, like:
10 # ExecStart=
11 -# ExecStart=/usr/bin/ipfs daemon --flag1 --flag2
11 +# ExecStart=/usr/local/bin/ipfs daemon --flag1 --flag2
12 #
13 # For more info about custom unit files see systemd.unit(5).
14
@@ -70,7 +70,7 @@ User=ipfs
70 Group=ipfs
71 StateDirectory=ipfs
72 Environment=IPFS_PATH="${HOME}"
73 -ExecStart=/usr/bin/ipfs daemon --init --migrate
73 +ExecStart=/usr/local/bin/ipfs daemon --init --migrate
74 Restart=on-failure
75 KillSignal=SIGINT
76
misc/systemd/ipfs.service
+2 -2
@@ -8,7 +8,7 @@
8 # To overwrite a variable, like ExecStart you have to specify it once
9 # blank and a second time with a new value, like:
10 # ExecStart=
11 -# ExecStart=/usr/bin/ipfs daemon --flag1 --flag2
11 +# ExecStart=/usr/local/bin/ipfs daemon --flag1 --flag2
12 #
13 # For more info about custom unit files see systemd.unit(5).
14
@@ -41,7 +41,7 @@ User=ipfs
41 Group=ipfs
42 StateDirectory=ipfs
43 Environment=IPFS_PATH="${HOME}"
44 -ExecStart=/usr/bin/ipfs daemon --init --migrate
44 +ExecStart=/usr/local/bin/ipfs daemon --init --migrate
45 Restart=on-failure
46 KillSignal=SIGINT
47