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 5ee2333c64b03a42e11fedffdbbb9612a73f31de 18 lines 647 B view raw
1#!/usr/bin/bash 2cat << EOF > ${pkgbuild_path}/knotserver.install 3post_install() { 4 echo 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 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 17} 18EOF