diff --git a/openwsman.spec b/openwsman.spec index fcdde537ffec8279f98103883b0ff616a83b321d..2a2f1e52da55fd698129e844ff696afd187bb9c7 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 e10c75dfb92986227cd05b07b6c586b229a76635..bd65d78cc8b2c162a3084501e10cff599f982aa2 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