This repository has been archived on 2025-02-14. You can view files and clone it, but cannot push or open issues or pull requests.
pyinfra-adguard/files/start-adguard.sh

7 lines
277 B
Bash
Raw Normal View History

2021-04-08 18:56:33 +09:00
#!/usr/bin/env bash
set -euo pipefail
install -o adguard -g adguard -m 600 /etc/letsencrypt/live/dns.benpro.fr/privkey.pem /home/adguard/
install -o adguard -g adguard -m 600 /etc/letsencrypt/live/dns.benpro.fr/fullchain.pem /home/adguard/
systemctl start AdGuardHome.service