knotserver-git#
Builds and packages knot.
When installed, knotserver's database files will be stored in /var/lib/knotserver. Repositories will
be stored in /var/lib/tangled.
SSH#
SSH access is required to push to repositories. To enable, use the sshd_config.d drop-in, and give the
git user a shell and a home directory:
ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf
usermod -s /usr/bin/bash -d /var/lib/tangled git