modules/ipfs-cluster: use strictMounts
This commit is contained in:
parent
51d6cd005c
commit
e35c18c39e
1 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,7 @@ in {
|
|||
environment.IPFS_CLUSTER_PATH = cfg.dataDir;
|
||||
wantedBy = [ "default.target" ];
|
||||
|
||||
unitConfig.RequiresMountsFor = cfg.dataDir;
|
||||
strictMounts = [ cfg.dataDir ];
|
||||
|
||||
serviceConfig = {
|
||||
# "" clears exec list (man systemd.service -> execStart)
|
||||
|
@ -143,6 +143,8 @@ in {
|
|||
environment.IPFS_CLUSTER_PATH = cfg.dataDir;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
strictMounts = [ cfg.dataDir ];
|
||||
|
||||
wants = [ "ipfs-cluster-init.service" ];
|
||||
after = [ "ipfs-cluster-init.service" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue