mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-16 09:35:10 +01:00
start caddy after garage
this should eliminate the problem of caddy being down after every update
This commit is contained in:
parent
8a5b59965d
commit
2bd8830cd0
2 changed files with 3 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ in
|
|||
age.secrets.caddy_s3_key_secret.file = ../../secrets/caddy_s3_key_secret.age;
|
||||
|
||||
systemd.services.caddy.serviceConfig.EnvironmentFile = config.age.secrets.caddy_s3_key_secret.path;
|
||||
systemd.services.caddy.after = [ "garage.service" ]; # the cert store depends on garage
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
package = caddy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue