mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Update caddy_control.py (#3944)
Forces the reload even if the config in the Caddyfile is unchanged, using an extra command of the rc.d script, forcing certificates in the filesystem to reload.
Fixes: {"info","ts":"2024-04-26T06:13:06Z","msg":"config is unchanged"}
Otherwise, if the config is unchanged, and the certificates are replaced, the names of the certificates in the Caddyfile stay the same, thus implying the config has been unchanged.
This commit is contained in:
@@ -67,7 +67,7 @@ actions = {
|
||||
"start": "start",
|
||||
"stop": "stop",
|
||||
"restart": "restart",
|
||||
"reload": "reload",
|
||||
"reload": "reloadssl", # Forces the reload even if the config in the Caddyfile is unchanged, using an extra command of the rc.d script, forcing certificates in the filesystem to reload.
|
||||
"validate": "validate" # Validate action
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user