What is the output of ps |grep -i adguardhome
?
Hello phantasm22 maybe you can help in how to proceed
thanks
You should get the yaml config file in that output:
2418 root 691m S /usr/bin/AdGuardHome -c /etc/adguardhome.yaml -w /mnt/mmcblk0/etc/adguardhome --no-check-update
Can you do this?
cd /etc/rc.d/
ls S*uard*
On my router, the file is S21adguardhome
. Once you have the file name,
cat S21adguardhome
replacing with your file name
You should have an output like this:
#!/bin/sh /etc/rc.common
PROG=/usr/bin/AdGuardHome
USE_PROCD=1
# starts after network starts
START=21
# stops before networking stops
STOP=89
start_service() {
config_load adguardhome
config_get WORK_DIR config workdir
[ -d "$WORK_DIR" ] || mkdir -m 0755 -p "$WORK_DIR"
procd_open_instance
procd_set_param command "$PROG" -c /etc/adguardhome.yaml -w "$WORK_DIR" --no-check-update
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}
Assuming you do have a yaml file, then do the following:
df -h
Send both outputs so I can troubleshoot why the script isn’t finding your yaml config file.
In this screenshot the -c should tell you the path to the yaml file. You might need to make your window wider. The script should pick up the yaml file and I’m not sure why it isn’t.