openwsman/openwsmand.service
cherry530 77212fcb90 fix failed to parse pid from pid-file
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 1ded7e358963a6c2b1a2604d814a2bfad9f3d1e1)
2022-03-22 09:03:35 +08:00

14 lines
274 B
Desktop File

[Unit]
Description=Openwsman WS-Management Service
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
[Install]
WantedBy=multi-user.target