Sunil Mohan Adapa 251e2b4064
openvpn: Ensure that re-running setup works as expected
- Don't overwrite the entire PKI directory or CA certificates.

- Don't re-enable app during setup.

Tests:

- Install app with patches. Rerun setup. It succeeds. Server certificate is not
changed.

- Disable app. Re-run setup. App is not re-enabled. OpenVPN is not running.

- Enable app. Re-run setup. OpenVPN is restarted.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-28 16:53:10 -04:00
..
2023-08-28 14:50:27 +02:00
2021-09-20 16:50:37 -04:00
2023-08-23 21:47:36 -04:00
2023-08-14 21:11:52 -04:00
2023-08-23 21:47:39 -04:00
2022-08-29 08:28:44 -04:00
2021-09-20 16:50:37 -04:00
2023-08-23 21:47:39 -04:00
2023-05-07 13:11:27 -04:00
2023-08-23 21:47:39 -04:00
2023-08-23 21:47:39 -04:00