diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-06-01 00:01:46 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-06-01 00:01:46 +0200 |
commit | 17f6eae9907a122d4472da727ae8b1ac1c40c027 (patch) | |
tree | 133ab8877a47ec707cb8c96e561a29e45395fce6 /modules/private/websites/chloe/integration.nix | |
parent | f33aade75160a345a721fd60451b9edaa4d10e44 (diff) | |
download | Nix-17f6eae9907a122d4472da727ae8b1ac1c40c027.tar.gz Nix-17f6eae9907a122d4472da727ae8b1ac1c40c027.tar.zst Nix-17f6eae9907a122d4472da727ae8b1ac1c40c027.zip |
Add a filesWatcher service to restart them when secrets change
Diffstat (limited to 'modules/private/websites/chloe/integration.nix')
-rw-r--r-- | modules/private/websites/chloe/integration.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/private/websites/chloe/integration.nix b/modules/private/websites/chloe/integration.nix index c42a428..25ec4db 100644 --- a/modules/private/websites/chloe/integration.nix +++ b/modules/private/websites/chloe/integration.nix | |||
@@ -32,5 +32,8 @@ in { | |||
32 | root = chloe.apache.root; | 32 | root = chloe.apache.root; |
33 | extraConfig = [ chloe.apache.vhostConf ]; | 33 | extraConfig = [ chloe.apache.vhostConf ]; |
34 | }; | 34 | }; |
35 | services.websites.integration.watchPaths = [ | ||
36 | "/var/secrets/webapps/${chloe.app.environment}-chloe" | ||
37 | ]; | ||
35 | }; | 38 | }; |
36 | } | 39 | } |