weechat- backup of me weechat setup |
git clone git://git.acid.vegas/weechat.git |
Log | Files | Refs | Archive | README |
commit 5a6f2c1c5ded7b7be805895b1c7019379b76fcab
parent 177b6e6cf9198d3c9423891e60acc98f6e9b2469 Author: acidvegas <acid.vegas@acid.vegas> Date: Thu, 12 Oct 2023 22:36:08 -0400 Added 💯 alias Diffstat:
|
3 files changed, 8 insertions(+), 7 deletions(-) | ||
diff --git a/README.md b/README.md @@ -27,7 +27,7 @@ --- ### Setup -###### Repository for Debian/Ubuntu +###### Repository for Debian (because Debian is always 7 versions behind to deem themself "stable") ```shell sudo mkdir /root/.gnupg sudo chmod 700 /root/.gnupg @@ -58,11 +58,11 @@ echo -e "[Unit]\nDescription=cerbot renewal\n\n[Service]\nType=oneshot\nExecStar echo -e "[Unit]\nDescription=cerbot renewal timer\n\n[Timer]\nOnCalendar=0/12:00:00\nRandomizedDelaySec=1h\nPersistent=true\n\n[Install]\nWantedBy=timers.target" > /etc/systemd/system/certbot.timer systemctl enable certbot.timer && systemctl start certbot.timer -echo "#!/bin/bash" > /home/acidvegas/.weechat/renew -echo "cat /etc/letsencrypt/live/chat.acid.vegas/fullchain.pem /etc/letsencrypt/live/chat.acid.vegas/privkey.pem > /home/acidvegas/.config/weechat/tls/relay.pem" >> /home/acidvegas/.local/share/weechat/renew -echo "chown -R acidvegas:acidvegas /home/acidvegas/.weechat/tls/relay.pem && chmod 400 /home/acidvegas/.confg/weechat/tls/relay.pem" >> /home/acidvegas/.local/share/weechat/renew -echo "printf \'%b\' \'*/relay tlscertkey\n\' > /run/user/1000/weechat/weechat_fifo" >> /home/acidvegas/.local/share/weechat/renew -chmod +x /home/acidvegas/.local/share/weechat/renew +echo "#!/bin/bash" > $HOME/.local/share/weechat/renew +echo "cat /etc/letsencrypt/live/chat.acid.vegas/fullchain.pem /etc/letsencrypt/live/chat.acid.vegas/privkey.pem > $HOME/.config/weechat/tls/relay.pem" >> $HOME/.local/share/weechat/renew +echo "chown -R acidvegas:acidvegas $HOME/.weechat/tls/relay.pem && chmod 400 $HOME/.confg/weechat/tls/relay.pem" >> $HOME/.local/share/weechat/renew +echo "printf \'%b\' \'*/relay tlscertkey\n\' > /run/user/1000/weechat/weechat_fifo" >> $HOME/.local/share/weechat/renew +chmod +x $HOME/.local/share/weechat/renew mkdir -p $HOME/.config/systemd/user echo -e "[Unit]\nDescription=headless weechat relay service\nAfter=network.target\n\n[Service]\nType=forking\nExecStart=/usr/bin/weechat-headless --daemon\n\n[Install]\nWantedBy=default.target" > $HOME/.config/systemd/user/weechat-headless.service |