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
Glad we could help!
If you have any further questions or suggestions, please email us at support@adguard.com
Please contact support
Your problem wasn’t solved, or you found an inaccuracy? Please email us at support@adguard.com — we’ll get back to you as soon as possible


