Fix status failure after stopping service

(cherry picked from commit 8f523306e84614027a5b6b004083aeaba8f39cc0)
This commit is contained in:
ultra_planet 2021-06-14 17:36:36 +08:00 committed by openeuler-sync-bot
parent 1b7a234f34
commit 98dca2ab64
5 changed files with 8 additions and 1 deletions

View File

@ -12,6 +12,7 @@ StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=storm-logviewer
SyslogLevel=debug
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target

View File

@ -12,6 +12,7 @@ StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=storm-nimbus
SyslogLevel=debug
SuccessExitStatus=20
[Install]
WantedBy=multi-user.target

View File

@ -12,6 +12,7 @@ StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=storm-supervisor
SyslogLevel=debug
SuccessExitStatus=20
[Install]
WantedBy=multi-user.target

View File

@ -12,6 +12,7 @@ StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=storm-ui
SyslogLevel=debug
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target

View File

@ -5,7 +5,7 @@
%define _data_dir %{_sharedstatedir}/storm
Name: storm
Version: 1.2.3
Release: 2
Release: 3
Summary: Apache Storm realtime computation system
License: Apache-2.0
Url: http://storm.apache.org
@ -94,6 +94,9 @@ done
%attr(0700,storm,storm) %dir %{_data_dir}
%changelog
* Mon Jun 14 2021 lingsheng <lingsheng@huawei.com> 1.2.3 - 3
- Fix status failure after stopping service
* Wed May 26 2021 wangchong <wangchong56@huawei.com> 1.2.3 - 2
- add requires