Don't try to start if the passwords aren't present
This commit is contained in:
parent
b6fe2ce411
commit
ade2e1caa0
|
@ -101,6 +101,8 @@ in {
|
|||
] ++ (map (topic: "--event-topic=${topic}") cfg.event-topics)
|
||||
++ (optional cfg.verbose "--verbose")));
|
||||
};
|
||||
unitConfig.ConditionPathExists =
|
||||
[ cfg.mqtt.incoming.password-file cfg.mqtt.outgoing.password-file ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue