summaryrefslogtreecommitdiffstats
path: root/libraries/AdGuardHome/README.SBo
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/AdGuardHome/README.SBo')
-rw-r--r--libraries/AdGuardHome/README.SBo24
1 files changed, 24 insertions, 0 deletions
diff --git a/libraries/AdGuardHome/README.SBo b/libraries/AdGuardHome/README.SBo
new file mode 100644
index 0000000000..843901ae42
--- /dev/null
+++ b/libraries/AdGuardHome/README.SBo
@@ -0,0 +1,24 @@
+A simple init script /etc/rc.d/rc.AdGuardHome has been provided to run
+AdGuard Home as a daemon.
+
+After first install, run
+# chmod +x /etc/rc.d/rc.AdGuardHome
+# /etc/rc.d/rc.AdGuardHome start
+Then go to the initial configuration wizard at http://localhost:3000
+
+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