41 lines
928 B
Diff
41 lines
928 B
Diff
|
From d486d9c9bafbfc13be7ff86c0ae781feed184d52 Mon Sep 17 00:00:00 2001
|
||
|
From: Ondrej Mular <omular@redhat.com>
|
||
|
Date: Thu, 24 Nov 2022 08:15:13 +0100
|
||
|
Subject: [PATCH 1/2] fix graceful termination of pcsd via systemd
|
||
|
|
||
|
---
|
||
|
CHANGELOG.md | 5 +++++
|
||
|
pcsd/pcsd.service.in | 1 +
|
||
|
2 files changed, 6 insertions(+)
|
||
|
|
||
|
diff --git a/CHANGELOG.md b/CHANGELOG.md
|
||
|
index 7d3d606b..7927eae6 100644
|
||
|
--- a/CHANGELOG.md
|
||
|
+++ b/CHANGELOG.md
|
||
|
@@ -1,5 +1,10 @@
|
||
|
# Change Log
|
||
|
|
||
|
+## [Unreleased]
|
||
|
+
|
||
|
+### Fixed
|
||
|
+- Graceful stopping pcsd service using `systemctl stop pcsd` command
|
||
|
+
|
||
|
## [0.11.4] - 2022-11-21
|
||
|
|
||
|
### Security
|
||
|
diff --git a/pcsd/pcsd.service.in b/pcsd/pcsd.service.in
|
||
|
index 8591e750..dca5052d 100644
|
||
|
--- a/pcsd/pcsd.service.in
|
||
|
+++ b/pcsd/pcsd.service.in
|
||
|
@@ -11,6 +11,7 @@ After=pcsd-ruby.service
|
||
|
EnvironmentFile=@CONF_DIR@/pcsd
|
||
|
ExecStart=@SBINDIR@/pcsd
|
||
|
Type=notify
|
||
|
+KillMode=mixed
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
--
|
||
|
2.38.1
|
||
|
|