Repair status failure after stopping service

This commit is contained in:
maminjie 2021-06-05 16:27:44 +08:00
parent fd5fe637b2
commit 5976f9242b
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Type=simple
EnvironmentFile=-/etc/sysconfig/lsyncd
ExecStart=/usr/bin/lsyncd -nodaemon $LSYNCD_OPTIONS
Restart=on-failure
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target

View File

@ -4,7 +4,7 @@
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: lsyncd
Version: 2.2.3
Release: 1
Release: 2
Summary: File change monitoring and synchronization daemon
License: GPLv2+
URL: https://github.com/axkibe/lsyncd/
@ -74,5 +74,8 @@ make
%{_unitdir}/lsyncd.service
%changelog
* Sat Jun 05 2021 maminjie <maminjie1@huawei.com> - 2.2.3-2
- Repair status failure after stopping service
* Wed Jan 20 2021 chengzihan <chengzihan2@huawei.com> - 2.2.3-1
- Package init