Don't try to start if we don't have a password
This commit is contained in:
parent
ae318bf499
commit
9a97eb1de7
|
@ -72,6 +72,7 @@ in {
|
|||
Restart = "always";
|
||||
StandardOutput = "journal";
|
||||
};
|
||||
unitConfig.ConditionPathExists = [ cfg.mqtt.password-file ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue