diff --git a/lsyncd.service b/lsyncd.service index 1105cca..5c43641 100644 --- a/lsyncd.service +++ b/lsyncd.service @@ -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 diff --git a/lsyncd.spec b/lsyncd.spec index 5e26600..de924bd 100644 --- a/lsyncd.spec +++ b/lsyncd.spec @@ -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 - 2.2.3-2 +- Repair status failure after stopping service + * Wed Jan 20 2021 chengzihan - 2.2.3-1 - Package init