mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
fix(cmdeploy): stop and disable unbound-resolvconf
Commit 825831e purges resolvconf, however the unbound service
activates a 'wants' unit for async resolvconf updates. This
results in errors in systemd startup as the unit will now always fail.
Stop and disable the unbound-resolvconf unit activation
This commit is contained in:
@@ -192,6 +192,12 @@ class UnboundDeployer(Deployer):
|
|||||||
|
|
||||||
self.ensure_service("unbound.service")
|
self.ensure_service("unbound.service")
|
||||||
|
|
||||||
|
self.ensure_service(
|
||||||
|
"unbound-resolvconf.service",
|
||||||
|
running=False,
|
||||||
|
enabled=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class MtastsDeployer(Deployer):
|
class MtastsDeployer(Deployer):
|
||||||
def configure(self):
|
def configure(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user