'';
};
system.activationScripts.chloe_dev = 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.integration.modules = chloe.apache.modules;
services.websites.integration.vhostConfs.chloe = {
certName = "eldiron";
root = chloe.apache.root;
extraConfig = [ chloe.apache.vhostConf ];
};
+ services.websites.integration.watchPaths = [
+ "/var/secrets/webapps/${chloe.app.environment}-chloe"
+ ];
};
}