modules/ipfs-cluster: set RequiresMountsFor
This commit is contained in:
parent
2705e5835a
commit
b39868e7e3
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ in {
|
||||||
environment.IPFS_CLUSTER_PATH = cfg.dataDir;
|
environment.IPFS_CLUSTER_PATH = cfg.dataDir;
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
|
|
||||||
|
unitConfig.RequiresMountsFor = cfg.dataDir;
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# "" clears exec list (man systemd.service -> execStart)
|
# "" clears exec list (man systemd.service -> execStart)
|
||||||
ExecStart = [
|
ExecStart = [
|
||||||
|
|
Loading…
Reference in a new issue