7 lines
343 B
Plaintext
Executable File
7 lines
343 B
Plaintext
Executable File
#!/usr/bin/with-contenv sh
|
|
|
|
echo "Starting dnsmasq..."
|
|
# Running dnsmasq as root prevents needing to run the entire container with --cap-add=NET_ADMIN
|
|
dnsmasq --user=root --keep-in-foreground --log-facility=/dev/stdout
|
|
#dnsmasq --log-queries --user=root --keep-in-foreground --log-facility=/var/log/dnsmasq.log --addn-hosts=/etc/dnsmasq.hosts
|