mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
dnsmasq.sh: Simplify dnsmasq workaround
This commit is contained in:
parent
0ce9d1175b
commit
23fa33b638
@ -15,7 +15,10 @@ install()
|
||||
apt-get update
|
||||
apt-get install --no-install-recommends -y dnsmasq
|
||||
service dnsmasq stop
|
||||
! is_docker && service systemd-resolved start || true
|
||||
! is_docker && {
|
||||
service systemd-resolved start || true
|
||||
update-rc.d systemd-resolved enable
|
||||
}
|
||||
update-rc.d dnsmasq disable || rm /etc/systemd/system/multi-user.target.wants/dnsmasq.service
|
||||
|
||||
[[ "$DOCKERBUILD" == 1 ]] && {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user