summaryrefslogtreecommitdiff
path: root/network/AdGuardHome/README.SBo
blob: 98ba0c50a94a2c8ffd2c35b102a84e04ea9655f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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