Arch PKGBUILDs for https://tangled.org/@tangled.org/core
arch pkgbuild
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

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