mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
Signed-off-by: SayfEddine <sayf-eddine.hammemi@scality.com> Signed-off-by: SayfEddine <sayf-eddine.hammemi@scality.com>
This commit is contained in:
parent
5740a1f4b1
commit
1846238a3d
5 changed files with 104 additions and 0 deletions
0
redhat/SOURCES/Corefile
Normal file
0
redhat/SOURCES/Corefile
Normal file
1
redhat/SOURCES/coredns.default
Normal file
1
redhat/SOURCES/coredns.default
Normal file
|
@ -0,0 +1 @@
|
|||
EXTRA_ARGS=
|
17
redhat/SOURCES/coredns.service
Normal file
17
redhat/SOURCES/coredns.service
Normal file
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
After=network.target
|
||||
Description=coredns server
|
||||
Documentation=http://coredns.io
|
||||
|
||||
[Service]
|
||||
User=coredns
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/sysconfig/coredns
|
||||
ExecStart=/usr/bin/coredns --conf=/etc/coredns/Corefile $EXTRA_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
SuccessExitStatus=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue