-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sysvinit service does not start AdGuardHome on boot #4480
Comments
@EugeneOne1, please investigate. Perhaps, something is up with our vendored copy of the SysV init script? |
@nandlab
If it is setup properly as a service, this should enable it to start on reboots. Also, here is a pretty good guide if you feel like attempting the install foot work yourself. |
@jumpsmm7 I do not have systemd, so |
Okay |
Merge in DNS/adguard-home from 4480-sysv-boot to master Updates #4480. Squashed commit of the following: commit c9645b1 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue May 24 14:25:09 2022 +0300 home: imp sysv script commit cc32336 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon May 23 21:13:06 2022 +0300 home: fix sysv service script
We'll close this issue for now. Please feel free to open new ones if you find anything. |
Merge in DNS/adguard-home from 4480-sysv-boot to master Updates #4480. Squashed commit of the following: commit c9645b1 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue May 24 14:25:09 2022 +0300 home: imp sysv script commit cc32336 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon May 23 21:13:06 2022 +0300 home: fix sysv service script
Hello, I installed the edge build and the init script itself seems to work. I can manually start AdGuardHome and check its status.
But it is still does not start at boot. It looks like the init scripts are installed incorrectly in Maybe the following things can cause problems:
I can fix it by running Maybe you can install the init script correctly by running something like |
Can you please reopen this issue? |
Merge in DNS/adguard-home from 4480-sysv-again to master Updates #4480. Squashed commit of the following: commit 263fa05 Merge: 360a646 d3f39b0 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Jun 14 13:36:15 2022 +0300 Merge branch 'master' into 4480-sysv-again commit 360a646 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 18:15:41 2022 +0300 home: rename linux file commit c303253 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 18:06:25 2022 +0300 home: imp code commit 2381c4a Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 17:48:22 2022 +0300 home: wrap sysv service
@nandlab, hello again. Thanks for the report and sorry for the late response. It should be finally fixed in the latest edge build. Could you please check it for us again? |
Now it works, thank you very much! |
Merge in DNS/adguard-home from 4480-sysv-again to master Updates #4480. Squashed commit of the following: commit 263fa05 Merge: 360a646 d3f39b0 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Jun 14 13:36:15 2022 +0300 Merge branch 'master' into 4480-sysv-again commit 360a646 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 18:15:41 2022 +0300 home: rename linux file commit c303253 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 18:06:25 2022 +0300 home: imp code commit 2381c4a Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 17:48:22 2022 +0300 home: wrap sysv service
Merge in DNS/adguard-home from 4480-sysv-boot to master Updates AdguardTeam#4480. Squashed commit of the following: commit c9645b1 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue May 24 14:25:09 2022 +0300 home: imp sysv script commit cc32336 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon May 23 21:13:06 2022 +0300 home: fix sysv service script
Merge in DNS/adguard-home from 4480-sysv-again to master Updates AdguardTeam#4480. Squashed commit of the following: commit 263fa05 Merge: 360a646 d3f39b0 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Jun 14 13:36:15 2022 +0300 Merge branch 'master' into 4480-sysv-again commit 360a646 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 18:15:41 2022 +0300 home: rename linux file commit c303253 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 18:06:25 2022 +0300 home: imp code commit 2381c4a Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Jun 9 17:48:22 2022 +0300 home: wrap sysv service
Issue Details
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
Expected Behavior
AdGuard Home should start automatically on boot.
Actual Behavior
AGH installed normally and placed the service
/etc/init.d/AdGuardHome
and created symlinks in/etc/rc?.d/
.But it is not started on boot.
sudo service --status-all
prints[ - ] AdGuardHome
, which means it is not running.Although I can start it manually with
sudo service AdGuardHome start
.The text was updated successfully, but these errors were encountered: