update caddy service

This commit is contained in:
Vivek 2024-08-19 21:03:32 -07:00 committed by GitHub
parent eeb2588a59
commit fb3b6cd77b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -356,6 +356,7 @@ in
startLimitIntervalSec = 14400;
startLimitBurst = 10;
reloadTriggers = optional cfg.enableReload cfg.configFile;
restartTriggers = optional (! cfg.enableReload) cfg.configFile;
serviceConfig = let
runOptions = ''--config ${configPath} ${optionalString (cfg.adapter != null) "--adapter ${cfg.adapter}"}'';