Update Technitium DNS and Restart Service (#10181)
Co-authored-by: Slaviša Arežina <[email protected]> Co-authored-by: Tobias <[email protected]> Co-authored-by: CanbiZ (MickLesk) <[email protected]>
This commit is contained in:
co-authored by
Slaviša Arežina
Tobias
CanbiZ
parent
d7f9fe27c5
commit
741e4dbe6e
@@ -47,6 +47,8 @@ function update_script() {
|
||||
curl -fsSL "https://download.technitium.com/dns/DnsServerPortable.tar.gz" -o /opt/DnsServerPortable.tar.gz
|
||||
$STD tar zxvf /opt/DnsServerPortable.tar.gz -C /opt/technitium/dns/
|
||||
rm -f /opt/DnsServerPortable.tar.gz
|
||||
echo "${RELEASE}" >~/.technitium
|
||||
systemctl restart technitium
|
||||
msg_ok "Updated Technitium DNS"
|
||||
msg_ok "Updated successfully!"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user