# HG changeset patch # User Vadim Filimonov # Date 1659014182 -10800 # Node ID c560b4e2f05696a953a6f3ca64b160fc6213d17b # Parent bbafc54bbd26c1930648be7c38b1122593cc9a95 subdir for repos logs diff -r bbafc54bbd26 -r c560b4e2f056 update.sh --- a/update.sh Thu Jul 28 16:10:05 2022 +0300 +++ b/update.sh Thu Jul 28 16:16:22 2022 +0300 @@ -7,8 +7,9 @@ ./stop.sh -mkdir -p logs +mkdir -p logs/repos rm -f logs/* +rm -f logs/repos/* hg identify >logs/changeset.txt ${ROOTPWD}/luan.sh update_repositories.luan diff -r bbafc54bbd26 -r c560b4e2f056 update_repositories.luan --- a/update_repositories.luan Thu Jul 28 16:10:05 2022 +0300 +++ b/update_repositories.luan Thu Jul 28 16:16:22 2022 +0300 @@ -87,8 +87,8 @@ if ($request_method = POST ) { set $auth "Restricted"; } - access_log <%=logsdir%>/<%=repo.name%>_access_log; - error_log <%=logsdir%>/<%=repo.name%>_error_log; + access_log <%=logsdir%>/repos/<%=repo.name%>_access_log; + error_log <%=logsdir%>/repos/<%=repo.name%>_error_log; <% if repo.mode=="private" then %> if ($request_method = GET ) { set $auth "Restricted";