-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Prerequisites
- [x ] I am running the latest version
- [ x] I checked the documentation and found no answer
- [ x] I checked to make sure that this issue has not already been filed
Issue Details
FYI i'm reporting this on behalf of others as my existing install is fine. However, it appears since #4480 was fixed and patched in. OpenWrt installs fail to install AGH service as OpenWrt does not use systemd's update-rc. OpenWrt uses libubox+ubus+procd.
starting AdGuard Home installation script
2022/06/16 11:43:34 [info] service: control action: install
6/16/2022 11:43:34 [fatal] service: executing action "install": Failed to install AdGuard Home service: command "update-rc.d" failed: exec: "update-rc.d": executable file not found in $PATH:
cannot install AdGuardHome as a service
Attempting this manually from the fix thread :
root@OpenWrt:~# sudo update-rc.d AdGuardHome defaults
sudo: update-rc.d: command not found
Is it possible to either check on if AGH installs correctly as a service and if the systemd method fails then you fall back to init.d method? Or even check the distribution and thus pick either systemd or init.d?
- Version of AdGuard Home server:
- v0.108.0-a.155+b04d1ed6
- How did you install AdGuard Home:
Expected Behavior
Using the install script should install AGH and activate the service.
Actual Behavior
Install script executes but fails to install as OpenWrt does not have systemds update-rc.d
Reactions are currently unavailable