# sudo -i
# vi /usr/local/opnsense/service/conf/actions.d/actions_adguardhome.conf
[start]command:/usr/local/etc/rc.d/adguardhome startparameters:type:scriptmessage:starting Adguardhome[stop]command:/usr/local/etc/rc.d/adguardhome stopparameters:type:scriptmessage:stopping Adguardhome[restart]command:/usr/local/etc/rc.d/adguardhome restartparameters:type:scriptmessage:restarting Adguardhomedescription:Restart AdGuardHome service[status]command:/usr/local/etc/rc.d/adguardhome status;exit 0parameters:type:script_outputMessage:request Adguardhome status[update]command:/usr/local/AdGuardHome/./AdGuardHome --updateparameters:type:scriptmessage:updating Adguardhomedescription:Update AdGuard Home
# service configd restart
# /usr/local/AdGuardHome/./AdGuardHome -s install --no-check-update
# touch /usr/local/etc/rc.syshook.d/start/50-adguardhome# chmod 755 /usr/local/etc/rc.syshook.d/start/50-adguardhome# vi /usr/local/etc/rc.syshook.d/start/50-adguardhome
#!/bin/sh/usr/local/AdGuardHome/./AdGuardHome -s start
# /usr/local/AdGuardHome/./AdGuardHome -s status
Need is the mother of invention. But the approach IMHO should be _not_ to hack around the plugin.How can the developer out of his/her free time support installations of the plugin that have subsequently modified?Or anyone seeking assistance from the community for that matter?. But you will do what you will.
From my part, when I need to update AdGH plugin installation, all I have to do is click on "upgrade" on the AdGH UI page. The only minor issue is that an OPN healthcheck will report a file sig mismatch.Is that something that doesn't work for you?
command:/usr/local/AdGuardHome/./AdGuardHome --update
command:/usr/local/AdGuardHome/./AdGuardHome --update && service adguardhome start
And the next question is, how can I autoupdate the block lists?
Settings > General Settings > Filter Update Interval