···11111212### [appview](appview)
13131414-Builds `appview` from tag [v1.3.0-alpha](https://tangled.sh/@tangled.sh/core/tree/v1.3.0-alpha).
1414+Builds `appview` from tag [v1.4.0-alpha](https://tangled.sh/@tangled.sh/core/tree/v1.4.0-alpha).
15151616### [knotserver](knotserver)
17171818-Builds `knotserver`, `keyfetch`, and `repoguard` from tag [v1.3.0-alpha](https://tangled.sh/@tangled.sh/core/tree/v1.3.0-alpha).
1818+Builds `knot` from tag [v1.4.0-alpha](https://tangled.sh/@tangled.sh/core/tree/v1.4.0-alpha).
19192020### [knotserver-git](knotserver-git)
21212222-Builds `knotserver`, `keyfetch`, and `repoguard` from branch [master](https://tangled.sh/@tangled.sh/core/tree/master).
2222+Builds `knot` from branch [master](https://tangled.sh/@tangled.sh/core/tree/master).
2323
···11+# knotserver-git
22+33+Builds and packages `knot`.
44+55+When installed, knotserver's database files will be stored in `/var/lib/tangled`. Repositories will
66+be stored in `/var/lib/tangled/repositories`.
77+88+## SSH
99+1010+SSH access is required to push to repositories. To enable, use the sshd_config.d drop-in, and give the
1111+`git` user a shell and a home directory:
1212+1313+```bash
1414+ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf
1515+usermod -s /usr/bin/bash -d /var/lib/tangled/repositories git
1616+```
1717+
···11# knotserver
2233-Builds and packages `knotserver`, `keyfetch`, and `repoguard`.
33+Builds and packages `knot`.
4455When installed, knotserver's database files will be stored in `/var/lib/tangled`. Repositories will
66-be stored in `/var/lib/tangled/repositories`.
66+be stored in `/var/lib/tangled/repositories`.
7788## SSH
99
···1212EnvironmentFile=-/etc/tangled/knotserver
13131414WorkingDirectory=/var/lib/tangled
1515-ExecStart=/usr/bin/knotserver
1515+ExecStart=/usr/bin/knot server
1616Restart=always
1717User=git
1818Group=git
+2-2
src/README.md.sh
···17171818### [knotserver](knotserver)
19192020-Builds \`knotserver\`, \`keyfetch\`, and \`repoguard\` from tag [v${tag}](https://tangled.sh/@tangled.sh/core/tree/v${tag}).
2020+Builds \`knot\` from tag [v${tag}](https://tangled.sh/@tangled.sh/core/tree/v${tag}).
21212222### [knotserver-git](knotserver-git)
23232424-Builds \`knotserver\`, \`keyfetch\`, and \`repoguard\` from branch [master](https://tangled.sh/@tangled.sh/core/tree/master).
2424+Builds \`knot\` from branch [master](https://tangled.sh/@tangled.sh/core/tree/master).
25252626EOF
+1-1
src/common/service.sh
···1414EnvironmentFile=-/etc/tangled/knotserver
15151616WorkingDirectory=${knotserver_path:-/var/lib/tangled}
1717-ExecStart=/usr/bin/knotserver
1717+ExecStart=/usr/bin/knot server
1818Restart=always
1919User=${knotserver_user:-git}
2020Group=${knotserver_group:-git}
···11+#!/usr/bin/bash
22+cat << EOF > ${pkgbuild_path}/README.md
33+# knotserver-git
44+55+Builds and packages \`knot\`.
66+77+When installed, knotserver's database files will be stored in \`${knotserver_path}\`. Repositories will
88+be stored in \`${knotserver_repo_path}\`.
99+1010+## SSH
1111+1212+SSH access is required to push to repositories. To enable, use the sshd_config.d drop-in, and give the
1313+\`${knotserver_user:-git}\` user a shell and a home directory:
1414+1515+\`\`\`bash
1616+ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf
1717+usermod -s /usr/bin/bash -d ${knotserver_repo_path} ${knotserver_user:-git}
1818+\`\`\`
1919+2020+EOF
···22cat << EOF > ${pkgbuild_path}/README.md
33# knotserver
4455-Builds and packages \`knotserver\`, \`keyfetch\`, and \`repoguard\`.
55+Builds and packages \`knot\`.
6677When installed, knotserver's database files will be stored in \`${knotserver_path}\`. Repositories will
88-be stored in \`${knotserver_repo_path}\`.
88+be stored in \`${knotserver_repo_path}\`.
991010## SSH
1111
+3-4
update.sh
···66source src/README.md.sh
7788for pkgbuild_path in knotserver knotserver-git; do
99- source src/common/sshd.conf.sh
1010- source src/common/tmpfiles.conf.sh
1111- source src/common/service.sh
1212- source src/common/install.sh
99+ for src in src/common/*.sh; do
1010+ source ${src}
1111+ done
1312 for src in src/${pkgbuild_path}/*.sh; do
1413 source ${src}
1514 done