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";
|
Restart = "always";
|
||||||
StandardOutput = "journal";
|
StandardOutput = "journal";
|
||||||
};
|
};
|
||||||
|
unitConfig.ConditionPathExists = [ cfg.mqtt.password-file ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user