Skip to content
Discussion options

You must be logged in to vote

You can read up on how to use the ctag rule here.
As for the rules, you would store them in the AdGuardHome.yaml file like the example below:

user_rules:
  - '||example.com'

To do what you want to do you would need to automate the function, something like the below would do it. I haven't tested it though.

This script will:
Stop AdGuard Home.
Rename AdGuardHome.yaml to AdGuardHome.backup safely, avoiding overwriting if a backup already exists.
Rename AdGuardHome.backup to AdGuardHome.yaml when needed.
Start AdGuard Home again.
Please note that you’ll need to set up cron jobs to run this script at the specified times.

#!/bin/bash

# Define the paths to the AdGuard Home binary and configura…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant