Arch PKGBUILDs for https://tangled.org/@tangled.org/core
arch
pkgbuild
1#!/usr/bin/bash
2cat << EOF > ${pkgbuild_path}/README.md
3# knotserver-git
4
5Builds and packages \`knot\`.
6
7When installed, knotserver's database files will be stored in \`${knotserver_path}\`. Repositories will
8be stored in \`${knotserver_repo_path}\`.
9
10## SSH
11
12SSH access is required to push to repositories. To enable, use the sshd_config.d drop-in, and give the
13\`${knotserver_user:-git}\` user a shell and a home directory:
14
15\`\`\`bash
16ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf
17usermod -s /usr/bin/bash -d ${knotserver_repo_path} ${knotserver_user:-git}
18\`\`\`
19
20EOF