fun reload () = if imVersion1 () then Config.Apache.reload1 else Config.Apache.reload
fun logDir {user, node, vhostId} =
- String.concat [Domain.homedirOf user,
- "/apache/log/",
+ String.concat [Config.Apache.logDirOf user,
+ "/",
node,
"/",
vhostId]
if Posix.FileSys.access (rld, []) then
()
else
- OS.FileSys.mkDir rld
+ Slave.mkDirAll rld
end
| _ =>
if Posix.FileSys.access (rld, []) then
()
else
- OS.FileSys.mkDir rld
+ Slave.mkDirAll rld
end
else
())