diff --git a/openwsman.spec b/openwsman.spec index e1ea767f1dc4467e29ea7134707e863442154a64..f810936fdb0bfd508ca1750f3ec7e469ac3d77d5 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/ @@ -259,6 +259,9 @@ rm -f /var/log/wsmand.log %{_mandir}/man8/* %changelog +* Wed Nov 9 2022 caodongxia - 2.6.5-15 +- fix pid file location and can not open problem + * Tue Oct 27 2020 Ge Wang - 2.6.5-14 - remove useless buildrequires of python2 and python2-devel diff --git a/openwsmand.service b/openwsmand.service index e10c75dfb92986227cd05b07b6c586b229a76635..12a67bb4a38aaefa3fd48ccbd3c678b39974f0bf 100644 --- a/openwsmand.service +++ b/openwsmand.service @@ -6,7 +6,8 @@ After=syslog.target Type=forking ExecStart=/usr/sbin/openwsmand -S ExecStartPre=/etc/openwsman/owsmantestcert.sh -PIDFile=/var/run/wsmand.pid +ExecStartPost=/usr/bin/sleep 0.1 +PIDFile=/run/wsmand.pid [Install] WantedBy=multi-user.target