'';
};
system.activationScripts.chloe_prod = chloe.activationScript;
- system.extraSystemBuilderCmds = ''
- mkdir -p $out/webapps
- ln -s ${chloe.app.webRoot} $out/webapps/${chloe.apache.webappName}
- '';
+ myServices.websites.webappDirs."${chloe.apache.webappName}" = chloe.app.webRoot;
services.websites.production.modules = chloe.apache.modules;
services.websites.production.vhostConfs.chloe = {
certName = "chloe";
root = chloe.apache.root;
extraConfig = [ chloe.apache.vhostConf ];
};
+ services.websites.production.watchPaths = [
+ "/var/secrets/webapps/${chloe.app.environment}-chloe"
+ ];
};
}