diff --git a/rockcraft.yaml b/rockcraft.yaml index fe6abe0..1168fb4 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -16,7 +16,8 @@ services: override: replace summary: "coredns service" startup: enabled - command: "/coredns" + command: "/coredns [ -conf /etc/coredns/Corefile ]" + on-failure: shutdown parts: coredns: