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/aten/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/aten/integration.nix')
-rw-r--r-- | modules/private/websites/aten/integration.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/private/websites/aten/integration.nix b/modules/private/websites/aten/integration.nix index 748e388..384b324 100644 --- a/modules/private/websites/aten/integration.nix +++ b/modules/private/websites/aten/integration.nix | |||
@@ -27,6 +27,9 @@ in { | |||
27 | root = aten.apache.root; | 27 | root = aten.apache.root; |
28 | extraConfig = [ aten.apache.vhostConf ]; | 28 | extraConfig = [ aten.apache.vhostConf ]; |
29 | }; | 29 | }; |
30 | services.websites.integration.watchPaths = [ | ||
31 | "/var/secrets/webapps/${aten.app.environment}-aten" | ||
32 | ]; | ||
30 | }; | 33 | }; |
31 | } | 34 | } |
32 | 35 | ||