remove 16.04 related task logic

This commit is contained in:
Girish Ramakrishnan
2022-11-02 21:22:42 +01:00
parent 0f0a98f7ac
commit 80a3ca0f46
3 changed files with 8 additions and 34 deletions
-2
View File
@@ -107,8 +107,6 @@ unbound-anchor -a /var/lib/unbound/root.key
log "Adding systemd services"
cp -r "${script_dir}/start/systemd/." /etc/systemd/system/
[[ "${ubuntu_version}" == "16.04" ]] && sed -e 's/MemoryMax/MemoryLimit/g' -i /etc/systemd/system/box.service
[[ "${ubuntu_version}" == "16.04" ]] && sed -e 's/Type=notify/Type=simple/g' -i /etc/systemd/system/unbound.service
systemctl daemon-reload
systemctl enable --now cloudron-syslog
systemctl enable unbound