Add README.md, unit file
This commit is contained in:
15
docker.named.service
Normal file
15
docker.named.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=BIND9 Container
|
||||
After=docker.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=0
|
||||
Restart=always
|
||||
ExecStartPre=-/usr/bin/docker stop bind9
|
||||
ExecStartPre=-/usr/bin/docker rm bind9
|
||||
ExecStartPre=/usr/bin/docker pull docker.io/internetsystemsconsortium/bind9:9.18
|
||||
ExecStart=/etc/bind/run_bind_container.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user