add/adjust docker exec scripts
This commit is contained in:
parent
b4883fab59
commit
eb2b4bd1a3
4
run_named-checkconf.sh
Executable file
4
run_named-checkconf.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#! /bin/bash
|
||||
[ -x "$(which docker 2>/dev/null)" ] && DOCKER=docker
|
||||
[ -x "$(which podman 2>/dev/null)" ] && DOCKER=podman
|
||||
$DOCKER exec bind9 named-checkconf "$@"
|
@ -1,4 +1,4 @@
|
||||
#! /bin/bash
|
||||
[ -x "$(which docker)" ] && DOCKER=docker
|
||||
[ -x "$(which podman)" ] && DOCKER=podman
|
||||
[ -x "$(which docker 2>/dev/null)" ] && DOCKER=docker
|
||||
[ -x "$(which podman 2>/dev/null)" ] && DOCKER=podman
|
||||
$DOCKER exec bind9 rndc "$@"
|
Loading…
Reference in New Issue
Block a user