Commit Graph

10 Commits

Author SHA1 Message Date
medmunds
b7b0213fa8 Clean up error messages and internal variables 2021-02-14 12:39:33 -08:00
medmunds
564ed8db87 Don't try to restart inactive services
(and remove extra spaces from reload command)
2021-02-14 11:48:27 -08:00
medmunds
db911df59b Detect unsupported Cloud Key java keystore location 2021-02-14 11:48:27 -08:00
medmunds
78e798a641 PR review fixes 2021-02-14 11:48:27 -08:00
medmunds
e53f6388a4 Add support for UnifiOS (Cloud Key Gen2)
Since UnifiOS does not use the Java keystore (like a Unifi
Controller or Cloud Key Gen1 deploy), this also reworks
the settings validation and error messaging somewhat.
2021-02-14 11:48:27 -08:00
medmunds
6ad214ba4a Fix typo 2021-02-14 11:48:27 -08:00
medmunds
17c2c735f5 Improve Cloud Key pre-flight error messaging 2021-02-14 11:48:27 -08:00
medmunds
073470dd43 Improve settings documentation comments 2021-02-14 11:48:27 -08:00
medmunds
cbc3acd33a fix: unifi deploy hook also update Cloud Key nginx certs
When running on a Unifi Cloud Key device, also deploy to
/etc/ssl/private/cloudkey.{crt,key} and reload nginx. This
makes the new cert available for the Cloud Key management
app running via nginx on port 443 (as well as the port 8443
Unifi Controller app the deploy hook already supported).

Fixes #3326
2021-02-14 11:48:27 -08:00
Brian Candler
8eab77f3c6 Add deployment script for unifi controller 2017-07-30 12:21:20 +01:00