This repository was archived by the owner on Dec 30, 2025. It is now read-only.
Commit 2f23a24
committed
fix(ssl-manager.sh): specify certbot directories for config, work, and logs
refactor(ssl-manager.sh): use ls command to check for certificate existence
Add explicit directory paths for certbot's config, work, and logs to ensure the correct directories are used during certificate issuance and renewal. This change enhances clarity and prevents potential misconfigurations. Additionally, replace the `test -f` command with `ls` to check for certificate existence, and use `--entrypoint=""` to ensure the correct command execution within the Docker container. This refactoring improves the reliability and readability of the script.1 parent c3a4899 commit 2f23a24
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
| |||
191 | 197 | | |
192 | 198 | | |
193 | 199 | | |
194 | | - | |
| 200 | + | |
195 | 201 | | |
196 | 202 | | |
197 | 203 | | |
198 | | - | |
199 | | - | |
| 204 | + | |
| 205 | + | |
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
| |||
0 commit comments