From b47ecd0cba85905f18b85de9dd771008adf60fd0 Mon Sep 17 00:00:00 2001 From: "@RubenKelevra" Date: Sat, 13 Jun 2020 04:12:05 +0200 Subject: [PATCH] systemd: specify repo path, to avoid unnecessary subdirectory --- misc/systemd/ipfs-hardened.service | 1 + misc/systemd/ipfs.service | 1 + 2 files changed, 2 insertions(+) diff --git a/misc/systemd/ipfs-hardened.service b/misc/systemd/ipfs-hardened.service index dbb35c5978b..bf202218f84 100644 --- a/misc/systemd/ipfs-hardened.service +++ b/misc/systemd/ipfs-hardened.service @@ -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 diff --git a/misc/systemd/ipfs.service b/misc/systemd/ipfs.service index b9bd4a2e232..cd689d3bafd 100644 --- a/misc/systemd/ipfs.service +++ b/misc/systemd/ipfs.service @@ -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