diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-22 20:01:33 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-22 20:01:33 +0200 |
commit | 4288c2f2431fb782b0d512b1b3749187f2374b6a (patch) | |
tree | aaf812414f91d6b695a7507265e7572de8dc477c /modules/private/websites/aten/production.nix | |
parent | f40f5b235b890f46770a22f005f8a0f664cf0562 (diff) | |
download | Nix-4288c2f2431fb782b0d512b1b3749187f2374b6a.tar.gz Nix-4288c2f2431fb782b0d512b1b3749187f2374b6a.tar.zst Nix-4288c2f2431fb782b0d512b1b3749187f2374b6a.zip |
Move websites/tools to modules
Diffstat (limited to 'modules/private/websites/aten/production.nix')
-rw-r--r-- | modules/private/websites/aten/production.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/private/websites/aten/production.nix b/modules/private/websites/aten/production.nix index 7938241..7a4adb5 100644 --- a/modules/private/websites/aten/production.nix +++ b/modules/private/websites/aten/production.nix | |||
@@ -20,10 +20,7 @@ in { | |||
20 | systemd.services.phpfpm-aten_prod.wants = aten.phpFpm.serviceDeps; | 20 | systemd.services.phpfpm-aten_prod.wants = aten.phpFpm.serviceDeps; |
21 | services.phpfpm.poolConfigs.aten_prod = aten.phpFpm.pool; | 21 | services.phpfpm.poolConfigs.aten_prod = aten.phpFpm.pool; |
22 | system.activationScripts.aten_prod = aten.activationScript; | 22 | system.activationScripts.aten_prod = aten.activationScript; |
23 | system.extraSystemBuilderCmds = '' | 23 | myServices.websites.webappDirs."${aten.apache.webappName}" = aten.app.webRoot; |
24 | mkdir -p $out/webapps | ||
25 | ln -s ${aten.app.webRoot} $out/webapps/${aten.apache.webappName} | ||
26 | ''; | ||
27 | services.websites.production.modules = aten.apache.modules; | 24 | services.websites.production.modules = aten.apache.modules; |
28 | services.websites.production.vhostConfs.aten = { | 25 | services.websites.production.vhostConfs.aten = { |
29 | certName = "aten"; | 26 | certName = "aten"; |