File tree Expand file tree Collapse file tree 4 files changed +39
-0
lines changed
overrides/usr/lib/systemd/system Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ PKGNAME=adguardhome
2
+ PKGSEC=web
3
+ PKGDES="Network-level advertisement and tracker blocking DNS server"
4
+ PKGDEP="glibc"
5
+ BUILDDEP="go nodejs"
6
+ ABTYPE=gomod
Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description =Network-level advertisement and tracker blocking DNS server
3
+ After =syslog.target network-online.target
4
+
5
+ [Service]
6
+ DynamicUser =true
7
+ StateDirectory =adguardhome
8
+ WorkingDirectory =/var/lib/adguardhome
9
+ AmbientCapabilities =CAP_NET_BIND_SERVICE CAP_NET_RAW
10
+ CapabilityBoundingSet =CAP_NET_BIND_SERVICE CAP_NET_RAW
11
+ ExecStart =/usr/bin/AdGuardHome -w /var/lib/adguardhome -l syslog
12
+
13
+ PrivateTmp =true
14
+ ProtectSystem =strict
15
+ ProtectHome =true
16
+ PrivateDevices =true
17
+ ProtectKernelTunables =true
18
+ ProtectControlGroups =true
19
+ NoNewPrivileges =true
20
+ MemoryDenyWriteExecute =true
21
+ LockPersonality =true
22
+ ProtectHostname =true
23
+
24
+ [Install]
25
+ WantedBy =multi-user.target
Original file line number Diff line number Diff line change
1
+ abinfo "Installing NPM dependencies ..."
2
+ npm --prefix client ci
3
+ abinfo "Building static assets ..."
4
+ npm --prefix client run build-prod
Original file line number Diff line number Diff line change
1
+ VER=0.107.67
2
+ SRCS="git::commit=tags/v${VER}::https://github.com/AdguardTeam/AdGuardHome"
3
+ CHKSUMS="SKIP"
4
+ CHKUPDATE="anitya::id=301521"
You can’t perform that action at this time.
0 commit comments