summarylogtreecommitdiffstats
path: root/readme.install
diff options
context:
space:
mode:
Diffstat (limited to 'readme.install')
-rw-r--r--readme.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/readme.install b/readme.install
new file mode 100644
index 000000000000..23a174247cc4
--- /dev/null
+++ b/readme.install
@@ -0,0 +1,18 @@
+post_install() {
+ echo "==> FIRST TIME SETUP"
+ echo ":: 1. First time run as root: /var/lib/adguardhome/AdGuardHome"
+ echo ":: 2. Log in to web interface to create config: http://ip.of.server:3000"
+ echo ":: Stop AdGuardHome with ctrl+c when complete"
+ echo ":: 3. Fix permissions: chown -R adguardhome:adguardhome /var/lib/adguardhome"
+ echo "==> Now you can start AdGuardHome.service via systemd and run as the unprivileged user"
+}
+
+post_remove() {
+ echo "==> Optionally delete the adguardhome user and its home directory"
+ echo "==> if you are certain no processes are running under it."
+ echo "==> userdel adguardhome"
+ echo "==> groupdel adguardhome"
+ echo "==> rm -rf /var/lib/adguardhome"
+}
+
+# vim:set ts=2 sw=2 et: