mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-04 23:32:49 +08:00
Regularly update nameservers' Linux packages
I'd like to keep the nameservers fresh, and this commit incorporates `apt-get update` in the procedure to update the sslip.io nameserver because I'll be rebooting the servers anyway (rebooting is key because I'd like the updated kernel to match the running kernel).
This commit is contained in:
@@ -84,6 +84,11 @@ git ci -vm"$GIT_MESSAGE"
|
||||
git tag $VERSION
|
||||
git push
|
||||
git push --tags
|
||||
for HOST in {ns-do-sg,ns-gce,ns-hetzner,ns-ovh}.sslip.io; do
|
||||
ssh $HOST sudo apt-get update
|
||||
ssh $HOST sudo apt-get upgrade -y
|
||||
ssh $HOST sudo apt-get autoremove -y
|
||||
done
|
||||
scp bin/sslip.io-dns-server-linux-amd64 ns-do-sg:
|
||||
scp bin/sslip.io-dns-server-linux-amd64 ns-gce:
|
||||
scp bin/sslip.io-dns-server-linux-amd64 ns-hetzner:
|
||||
|
Reference in New Issue
Block a user