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/connexionswing/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/connexionswing/integration.nix')
-rw-r--r-- | modules/private/websites/connexionswing/integration.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/private/websites/connexionswing/integration.nix b/modules/private/websites/connexionswing/integration.nix index 1d8488a..7d77ac7 100644 --- a/modules/private/websites/connexionswing/integration.nix +++ b/modules/private/websites/connexionswing/integration.nix | |||
@@ -31,6 +31,10 @@ in { | |||
31 | root = connexionswing.apache.root; | 31 | root = connexionswing.apache.root; |
32 | extraConfig = [ connexionswing.apache.vhostConf ]; | 32 | extraConfig = [ connexionswing.apache.vhostConf ]; |
33 | }; | 33 | }; |
34 | services.filesWatcher.phpfpm-connexionswing_dev = { | ||
35 | restart = true; | ||
36 | paths = [ "/var/secrets/webapps/${connexionswing.app.environment}-connexionswing" ]; | ||
37 | }; | ||
34 | }; | 38 | }; |
35 | } | 39 | } |
36 | 40 | ||