!13 [sync] PR-12: fix failed to parse pid from pid-file

From: @openeuler-sync-bot 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
This commit is contained in:
openeuler-ci-bot 2022-03-24 03:19:33 +00:00 committed by Gitee
commit eec42365df
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 1 deletions

View File

@ -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 <xuping33@huawei.com> - 2.6.5-15
- fix failed to parse pid from pid-file
* Fri Aug 21 2020 lunankun <lunankun@huawei.com> - 2.6.5-14
- Type:bugfix
- Id:NA

View File

@ -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