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
This commit is contained in:
Dave Rawks 2023-06-02 10:04:48 -07:00 committed by GitHub
parent cf4059f3ce
commit a55d368a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

3
.changelog/16845.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:improvement
systemd: set service type to notify.
```

View File

@ -6,6 +6,7 @@ After=network-online.target
ConditionFileNotEmpty=/etc/consul.d/consul.hcl ConditionFileNotEmpty=/etc/consul.d/consul.hcl
[Service] [Service]
Type=notify
EnvironmentFile=-/etc/consul.d/consul.env EnvironmentFile=-/etc/consul.d/consul.env
User=consul User=consul
Group=consul Group=consul