1
0
Fork 0

weewx: bindsTo mount point

This commit is contained in:
Daniel Kempkens 2024-07-01 13:29:12 +02:00
parent e207885add
commit 4323142b3d
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -16,7 +16,8 @@ in
in in
{ {
description = "WeeWX"; description = "WeeWX";
requires = [ "time-sync.target" "mosquitto.service" ] ++ mounts; requires = [ "time-sync.target" "mosquitto.service" ];
bindsTo = mounts;
after = [ "network-online.target" "time-sync.target" "mosquitto.service" ] ++ mounts; after = [ "network-online.target" "time-sync.target" "mosquitto.service" ] ++ mounts;
wants = [ "network-online.target" ]; wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];