1post_install() {
2 echo
3 echo knotserver installed, with repositories stored in: /var/lib/tangled
4 echo
5 echo Use "systemctl edit knotserver.service" to set "KNOT_SERVER_OWNER" to the DID of the knot owner,
6 echo and set "KNOT_SERVER_HOSTNAME" to the FQDN of your knot.
7 echo
8 echo To enable git push over ssh for tangled repositories, run:
9 echo " ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf"
10 echo " usermod -s /usr/bin/bash -d /var/lib/tangled git"
11 echo
12 echo and reload sshd
13 echo
14}