| Allow CGI in gopher, fix bug in stagit script. - infra - Terraform IoC for my r… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 04942e5e4cd292940891157315627ee4e78a4140 | |
| parent 17bb732a49f823f59274ab190739d66d54378aeb | |
| Author: Jay Scott <[email protected]> | |
| Date: Tue, 31 Jan 2023 19:15:25 +0000 | |
| Allow CGI in gopher, fix bug in stagit script. | |
| Diffstat: | |
| M ansible/roles/gopher/templates/geo… | 2 +- | |
| M ansible/roles/stagit/templates/sta… | 4 ++-- | |
| 2 files changed, 3 insertions(+), 3 deletions(-) | |
| --- | |
| diff --git a/ansible/roles/gopher/templates/geomyidae.service.j2 b/ansible/role… | |
| @@ -10,7 +10,7 @@ Type=forking | |
| Restart=on-abnormal | |
| RestartSec=1 | |
| User=root | |
| -ExecStart=/usr/local/bin/geomyidae -v 0 -b {{ geomyidae.root_path }} -p 70 -e … | |
| +ExecStart=/usr/local/bin/geomyidae -v 0 -b {{ geomyidae.root_path }} -p 70 -n … | |
| [Install] | |
| WantedBy=multi-user.target | |
| diff --git a/ansible/roles/stagit/templates/stagit_create.sh.j2 b/ansible/roles… | |
| @@ -2,7 +2,7 @@ | |
| reposdir="{{ stagit_gopher.repo_path }}" | |
| gopherdir="{{ stagit_gopher.output_path }}" | |
| -stagitdir="git/" | |
| +stagitdir="/git" | |
| destdir="${gopherdir}/${stagitdir}" | |
| # remove /'s at the end. | |
| @@ -22,7 +22,7 @@ for dir in "${reposdir}/"*/; do | |
| mkdir -p "${destdir}/${d}" | |
| cd "${destdir}/${d}" || continue | |
| - /usr/local/bin/stagit-gopher -b "${stagitdir}/${d}" -c ".cache" \ | |
| + /usr/local/bin/stagit-gopher -b "${stagitdir}/${d}" \ | |
| -u "gopher://jay.scot/1/git/$d/" "${reposdir}/${r}" | |
| # symlinks |