X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=jessie_postinstall.sh;fp=jessie_postinstall.sh;h=821b4b3f76bf7057f2194f978f24e92151030821;hb=84a077763b6d9663a5d82835a484e1b55a199ee5;hp=000f8e41b2a1ef37402ccad3d095b6bdb1d47303;hpb=46c2911ac60e09492b90b1aaa5be456a2aff6b44;p=config diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 000f8e4..821b4b3 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -222,8 +222,7 @@ if [ "$1" = "server" ]; then # Set up htwtxt environment. apt-get -y install screen nginx apt-get -y -t jessie-backports install golang - su - plom -c 'git clone '\ -'https://github.com/plomlompom/htwtxt $GOPATH/src/htwtxt' + su - plom -c 'git clone https://github.com/plomlompom/htwtxt $GOPATH/src/htwtxt' su - plom -c 'go get htwtxt' path=`su - plom -c 'echo $GOPATH/bin/htwtxt'` #setcap 'cap_net_bind_service=+ep' $path @@ -240,6 +239,8 @@ if [ "$1" = "server" ]; then cp config/systemfiles/plomlombot.service \ /etc/systemd/system/plomlombot.service systemctl enable /etc/systemd/system/plomlombot.service + mkdir /var/www/irclogs_zrolaps/ + touch /var/www/password_irclogs_zrolaps fi elif [ "$1" = "thinkpad" ]; then