diff --git a/misc/systemd/ipfs-hardened.service b/misc/systemd/ipfs-hardened.service index 785a5982906e023dc3b8778a17a86a658e7d20f6..45d1d7d1d0cf0cd94006eac5710df162db953974 100644 --- a/misc/systemd/ipfs-hardened.service +++ b/misc/systemd/ipfs-hardened.service @@ -69,7 +69,7 @@ Type=notify User=ipfs Group=ipfs StateDirectory=ipfs -Environment=IPFS_PATH="${HOME}" +Environment=IPFS_PATH="%S" ExecStart=/usr/local/bin/ipfs daemon --init --migrate Restart=on-failure KillSignal=SIGINT diff --git a/misc/systemd/ipfs.service b/misc/systemd/ipfs.service index ab074e22ef166e1c01a67c8bfe5c878ad78079d7..c017f73a38fe4be8a02ae355eb6307b27af6cc11 100644 --- a/misc/systemd/ipfs.service +++ b/misc/systemd/ipfs.service @@ -40,7 +40,7 @@ Type=notify User=ipfs Group=ipfs StateDirectory=ipfs -Environment=IPFS_PATH="${HOME}" +Environment=IPFS_PATH="%S" ExecStart=/usr/local/bin/ipfs daemon --init --migrate Restart=on-failure KillSignal=SIGINT