nft-dns/debian/postinst
2023-08-29 19:47:56 +02:00

6 lines
198 B
Bash
Executable File

#!/usr/bin/env bash
[ -d /run/systemd/system/ ] && systemctl daemon-reload
[ -d /run/systemd/system/ ] && systemctl is-enabled nft-dns --quiet >/dev/null 2>&1 && systemctl restart nft-dns
exit 0