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.
  1. Run the following commands to enable the service:
    systemctl daemon-reload
    systemctl enable --now adguard-cli
Downloading AdGuard To install AdGuard, click the file indicated by the arrow Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, drag the AdGuard icon to the "Applications" folder. Thank you for choosing AdGuard! Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, click "Install". Thank you for choosing AdGuard!
Install AdGuard on your mobile device