From 1ded7e358963a6c2b1a2604d814a2bfad9f3d1e1 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Mon, 8 Nov 2021 16:07:51 +0800 Subject: [PATCH] fix failed to parse pid from pid-file Signed-off-by: cherry530 --- openwsman.spec | 5 ++++- openwsmand.service | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/openwsman.spec b/openwsman.spec index fcdde53..2a2f1e5 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -3,7 +3,7 @@ Name: openwsman Version: 2.6.5 -Release: 14 +Release: 15 Summary: Opensource Implementation of WS-Management License: BSD URL: http://www.openwsman.org/ @@ -260,6 +260,9 @@ rm -f /var/log/wsmand.log %{_mandir}/man8/* %changelog +* Mon Nov 08 2021 xu_ping - 2.6.5-15 +- fix failed to parse pid from pid-file + * Fri Aug 21 2020 lunankun - 2.6.5-14 - Type:bugfix - Id:NA diff --git a/openwsmand.service b/openwsmand.service index e10c75d..bd65d78 100644 --- a/openwsmand.service +++ b/openwsmand.service @@ -5,6 +5,7 @@ After=syslog.target [Service] Type=forking ExecStart=/usr/sbin/openwsmand -S +ExecStartPost=/usr/bin/sleep 0.1 ExecStartPre=/etc/openwsman/owsmantestcert.sh PIDFile=/var/run/wsmand.pid -- Gitee