mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
net-dns/AdGuardHome: Pi-Hole alternative written in Go
offers following features which lack in Pi-hole * Encrypted DNS upstream servers (DNS-over-HTTPS, DNS-over-TLS, DNSCrypt) * Running as a DNS-over-HTTPS or DNS-over-TLS server Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
22
net-dns/AdGuardHome/files/AdGuardHome-0.107.43.service
Normal file
22
net-dns/AdGuardHome/files/AdGuardHome-0.107.43.service
Normal file
@@ -0,0 +1,22 @@
|
||||
# This unit is inspired from
|
||||
# `AdGuardHome -s install` on systemd machine and
|
||||
# https://aur.archlinux.org/cgit/aur.git/tree/adguardhome.service?h=adguardhome
|
||||
|
||||
[Unit]
|
||||
Description=Network-wide ads & trackers blocking DNS server with WebUI
|
||||
After=network-online.target
|
||||
ConditionFileIsExecutable=/usr/bin/AdGuardHome
|
||||
|
||||
[Service]
|
||||
StartLimitInterval=5
|
||||
StartLimitBurst=10
|
||||
DynamicUser=true
|
||||
StateDirectory=AdGuardHome
|
||||
WorkingDirectory=/var/lib/AdGuardHome
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||
ExecStart=/usr/bin/AdGuardHome --no-check-update --work-dir /var/lib/AdGuardHome
|
||||
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user