+10
-10
knotserver-git/knotserver.install
+10
-10
knotserver-git/knotserver.install
···
1
1
post_install() {
2
2
echo
3
3
echo knotserver installed, with repositories stored in: /var/lib/tangled
4
-
echo
5
-
echo Remember to set 'KNOT_SERVER_SECRET="..."' in /etc/tangled/knotserver
6
-
echo and 'KNOT_SERVER_HOSTNAME' if 'hostname' does not return the FQDN
7
-
echo of your knot.
8
-
echo
4
+
echo
5
+
echo Remember to set 'KNOT_SERVER_SECRET="..."' in /etc/tangled/knotserver
6
+
echo and 'KNOT_SERVER_HOSTNAME' if 'hostname' does not return the FQDN
7
+
echo of your knot.
8
+
echo
9
9
echo To enable git push over ssh for tangled repositories, run:
10
-
echo " ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf"
11
-
echo " usermod -s /usr/bin/bash -d /var/lib/tangled git"
12
-
echo
13
-
echo and reload sshd
14
-
echo
10
+
echo " ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf"
11
+
echo " usermod -s /usr/bin/bash -d /var/lib/tangled git"
12
+
echo
13
+
echo and reload sshd
14
+
echo
15
15
}
+10
-10
src/common/install.sh
+10
-10
src/common/install.sh
···
3
3
post_install() {
4
4
echo
5
5
echo knotserver installed, with repositories stored in: $knotserver_repo_path
6
-
echo
7
-
echo Remember to set 'KNOT_SERVER_SECRET="..."' in /etc/tangled/knotserver
8
-
echo and 'KNOT_SERVER_HOSTNAME' if 'hostname' does not return the FQDN
9
-
echo of your knot.
10
-
echo
6
+
echo
7
+
echo Remember to set 'KNOT_SERVER_SECRET="..."' in /etc/tangled/knotserver
8
+
echo and 'KNOT_SERVER_HOSTNAME' if 'hostname' does not return the FQDN
9
+
echo of your knot.
10
+
echo
11
11
echo To enable git push over ssh for tangled repositories, run:
12
-
echo " ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf"
13
-
echo " usermod -s /usr/bin/bash -d $knotserver_repo_path $knotserver_user"
14
-
echo
15
-
echo and reload sshd
16
-
echo
12
+
echo " ln -s /usr/lib/systemd/sshd_config.d/knotserver.conf /etc/ssh/sshd_config.d/30-knotserver.conf"
13
+
echo " usermod -s /usr/bin/bash -d $knotserver_repo_path $knotserver_user"
14
+
echo
15
+
echo and reload sshd
16
+
echo
17
17
}
18
18
EOF