diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-21 19:31:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-21 19:31:06 +0200 |
commit | 8eded9ecb6220bb26599419a4aaea1743d3d187e (patch) | |
tree | 45538fcc9fa3bc9476311c14af8d399b25110a2b /nixops/modules/websites/ludivine/default.nix | |
parent | 43fe68fb9fc66bda710974fe2a1a3321aa853303 (diff) | |
download | Nix-8eded9ecb6220bb26599419a4aaea1743d3d187e.tar.gz Nix-8eded9ecb6220bb26599419a4aaea1743d3d187e.tar.zst Nix-8eded9ecb6220bb26599419a4aaea1743d3d187e.zip |
Move cache clearing of php applications to preStart systemd
Diffstat (limited to 'nixops/modules/websites/ludivine/default.nix')
-rw-r--r-- | nixops/modules/websites/ludivine/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixops/modules/websites/ludivine/default.nix b/nixops/modules/websites/ludivine/default.nix index c5a904b..814764f 100644 --- a/nixops/modules/websites/ludivine/default.nix +++ b/nixops/modules/websites/ludivine/default.nix | |||
@@ -37,6 +37,7 @@ in { | |||
37 | }; | 37 | }; |
38 | }; | 38 | }; |
39 | 39 | ||
40 | services.myPhpfpm.preStart.ludivinecassal_prod = ludivinecassal_prod.phpFpm.preStart; | ||
40 | services.myPhpfpm.serviceDependencies.ludivinecassal_prod = ludivinecassal_prod.phpFpm.serviceDeps; | 41 | services.myPhpfpm.serviceDependencies.ludivinecassal_prod = ludivinecassal_prod.phpFpm.serviceDeps; |
41 | services.myPhpfpm.poolConfigs.ludivinecassal_prod = ludivinecassal_prod.phpFpm.pool; | 42 | services.myPhpfpm.poolConfigs.ludivinecassal_prod = ludivinecassal_prod.phpFpm.pool; |
42 | system.activationScripts.ludivinecassal_prod = ludivinecassal_prod.activationScript; | 43 | system.activationScripts.ludivinecassal_prod = ludivinecassal_prod.activationScript; |
@@ -56,6 +57,7 @@ in { | |||
56 | deployment.keys = ludivinecassal_dev.keys; | 57 | deployment.keys = ludivinecassal_dev.keys; |
57 | security.acme.certs."eldiron".extraDomains."ludivine.immae.eu" = null; | 58 | security.acme.certs."eldiron".extraDomains."ludivine.immae.eu" = null; |
58 | 59 | ||
60 | services.myPhpfpm.preStart.ludivinecassal_dev = ludivinecassal_dev.phpFpm.preStart; | ||
59 | services.myPhpfpm.serviceDependencies.ludivinecassal_dev = ludivinecassal_dev.phpFpm.serviceDeps; | 61 | services.myPhpfpm.serviceDependencies.ludivinecassal_dev = ludivinecassal_dev.phpFpm.serviceDeps; |
60 | services.myPhpfpm.poolConfigs.ludivinecassal_dev = ludivinecassal_dev.phpFpm.pool; | 62 | services.myPhpfpm.poolConfigs.ludivinecassal_dev = ludivinecassal_dev.phpFpm.pool; |
61 | system.activationScripts.ludivinecassal_dev = ludivinecassal_dev.activationScript; | 63 | system.activationScripts.ludivinecassal_dev = ludivinecassal_dev.activationScript; |