!16 [sync] PR-15: fix pid file location and cannot open problem

From: @openeuler-sync-bot 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2022-11-10 01:31:48 +00:00 committed by Gitee
commit 85cd18ae1d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 2 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/
@ -259,6 +259,9 @@ rm -f /var/log/wsmand.log
%{_mandir}/man8/*
%changelog
* Wed Nov 9 2022 caodongxia <caodongxia@h-partners.com> - 2.6.5-15
- fix pid file location and can not open problem
* Tue Oct 27 2020 Ge Wang <wangge20@huawei.com> - 2.6.5-14
- remove useless buildrequires of python2 and python2-devel

View File

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