Linux용 AdGuard가 시스템 시작 시 자동으로 실행되지 않습니다. 자동 실행을 활성화하려면 어떻게 해야 하나요?
systemd를 사용하는 배포판에서는 서비스를 수동으로 활성화해야 합니다. 이렇게 하려면 서비스 파일
/etc/systemd/system/adguard-cli.service를 생성하고 다음 구성을 추가하세요.[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
.
도움이 되셨다니 다행입니다.
추가 질문이나 제안 사항이 있으시면 support@adguard.com으로 이메일을 보내주세요.


