mirror of
https://github.com/azlux/nft-dns.git
synced 2024-11-23 22:06:09 +00:00
6 lines
198 B
Bash
Executable File
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 |