modules/ipfs-cluster: set RequiresMountsFor

This commit is contained in:
Max Headroom 2023-08-23 00:58:54 +02:00
parent 2705e5835a
commit b39868e7e3

View file

@ -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 = [