AdGuard for Linux doesn’t start automatically at system startup. How can I enable autostart?
On distributions using systemd, you need to enable the service manually. To do it, create the service file
/etc/systemd/system/adguard-cli.service and add the following configuration:[Unit]
Description=AdGuard CLI
After=network.target
[Service]
Type=forking
WorkingDirectory=/opt/adguard-cli
ExecStart=/opt/adguard-cli/adguard-cli start
ExecStop=/opt/adguard-cli/adguard-cli stop
Restart=always
TimeoutStartSec=0
TimeoutStopSec=0
StandardOutput=journal
RemainAfterExit=yes
User=username
[Install]
WantedBy=multi-user.target
In the User=username parameter, replace username with your Linux username.
- Run the following commands to enable the service:
systemctl daemon-reload systemctl enable --now adguard-cli
Yardımcı olabildiğimize mutluyuz!
Başka sorularınız veya önerileriniz varsa, lütfen bize support@adguard.com adresinden e-posta gönderin
Lütfen destek ile iletişime geçin
Sorununuz çözülmedi mi veya bir yanlışlık mı buldunuz? Lütfen bize support@adguard.com adresinden e-posta gönderin — size en kısa sürede geri döneceğiz


