Skip to content
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

Reinstalling the service..../ytadsblocker.sh: line 223: systemctl: command not found #19

Open
reba0 opened this issue Sep 16, 2022 · 1 comment

Comments

@reba0
Copy link

reba0 commented Sep 16, 2022

Hi
Script was worink well in Docker no I getthe following Error :
Reinstalling the service..../ytadsblocker.sh: line 223: systemctl: command not found

I was not able to fix it

root@pihole:/ytadsblocker# ./ytadsblocker.sh -a install
./ytadsblocker.sh -a start &


\ / / __ / / / /_ / / / / __ )/ / / | / __ / /
\ / / / / / / / / / / / / / __ / _/ / /| | / / / /_ \
/ / /
/ / /
/ / / / / /
/ / /
/ / /
/ ___ |/ // /
/ /
//_/_/ ____ _____________________ |/_____///
/ __ )/ / / __ / / //// / __ \
/ __ / / / / / / / / ,< / __/ / /
/ /
/ /
/ / /
/ /
/ / /
/ /| |/ /
/ _, _/
/
//_/_// |/_____// || v3.7.3 by @deividgdt

[i] Youtube Ads Blocker will be installed.
Log file: /var/log/ytadsblocker.log
Subdomains added to: /etc/pihole/gravity.db

[w] Youtube Ads Blocker already installed...
[i] Reinstalling the service..../ytadsblocker.sh: line 223: systemctl: command not found
[3] 6812
root@pihole:/ytadsblocker# Youtube Ads Blocker Started
Check the /var/log/ytadsblocker.log file to get further information.

Many thanks fr your help

@joekeee
Copy link

joekeee commented Aug 29, 2024

I'm having the same issue.
Inside the docker container systemctl is not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants