diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2019-10-26 22:09:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-26 22:09:30 +0700 |
commit | 54a6edba5beb4763124b6705971dab8f0aef76e5 (patch) | |
tree | 3f3c43ebfb473894055db4470181c8bb04ae8986 /network/AdGuardHome/README.SBo | |
parent | d9abd80e0184668f531ea3093979f611f8cc8998 (diff) |
network/AdGuardHome: Added (Ad blocking DNS server).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/AdGuardHome/README.SBo')
-rw-r--r-- | network/AdGuardHome/README.SBo | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/network/AdGuardHome/README.SBo b/network/AdGuardHome/README.SBo new file mode 100644 index 0000000000000..98ba0c50a94a2 --- /dev/null +++ b/network/AdGuardHome/README.SBo @@ -0,0 +1,19 @@ +A simple init script /etc/rc.d/rc.AdGuardHome has been provided to run +AdGuard Home as a daemon. + +To start AdGuard Home automatically at system start, add the following +to /etc/rc.d/rc.local: + +# Start AdGuard Home +if [ -x /etc/rc.d/rc.AdGuardHome ]; then + rm -f /var/run/AdGuardHome.pid + /etc/rc.d/rc.AdGuardHome start +fi + +To properly stop AdGuard Home on system shutdown, add the following to +/etc/rc.d/rc.local_shutdown: + +# Stop AdGuard Home +if [ -x /etc/rc.d/rc.AdGuardHome ]; then + /etc/rc.d/rc.AdGuardHome stop +fi |