From a55d368a0ec1e71517437f6a76404de729c19773 Mon Sep 17 00:00:00 2001 From: Dave Rawks Date: Fri, 2 Jun 2023 10:04:48 -0700 Subject: [PATCH] Resolves issue-16844 - systemd notify by default (#16845) * updates `consul.service` systemd service unit to use `Type=notify` to resolve issue #16844 * add changelog update to match --- .changelog/16845.txt | 3 +++ .release/linux/package/usr/lib/systemd/system/consul.service | 1 + 2 files changed, 4 insertions(+) create mode 100644 .changelog/16845.txt diff --git a/.changelog/16845.txt b/.changelog/16845.txt new file mode 100644 index 0000000000..7181e319e3 --- /dev/null +++ b/.changelog/16845.txt @@ -0,0 +1,3 @@ +```release-note:improvement +systemd: set service type to notify. +``` diff --git a/.release/linux/package/usr/lib/systemd/system/consul.service b/.release/linux/package/usr/lib/systemd/system/consul.service index 1bbf51a7a1..65eca696e1 100644 --- a/.release/linux/package/usr/lib/systemd/system/consul.service +++ b/.release/linux/package/usr/lib/systemd/system/consul.service @@ -6,6 +6,7 @@ After=network-online.target ConditionFileNotEmpty=/etc/consul.d/consul.hcl [Service] +Type=notify EnvironmentFile=-/etc/consul.d/consul.env User=consul Group=consul