deividgdt / ytadsblocker

YTadsblocker is a script to block all the Youtube's advertisement in Pi-Hole
GNU General Public License v3.0
89 stars 12 forks source link

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

Open reba0 opened 1 year ago

reba0 commented 1 year ago

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