!12 Fix service description typo, PIDFILE location and cannot open problem

From: @ultra_planet
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-09-13 10:15:00 +00:00 committed by Gitee
commit 78e4d676fd
2 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,11 @@
[Unit]
Description=ritned daemon
Description=rinetd daemon
[Service]
Type=forking
PIDFile=/var/run/rinetd.pid
PIDFile=/run/rinetd.pid
ExecStart=/usr/sbin/rinetd
ExecStartPost=/usr/bin/sleep 0.1
ExecReload=/bin/kill -HUP $MAINPID
[Install]

View File

@ -1,7 +1,7 @@
%define with_systemd 1
Name: rinetd
Version: 0.62
Release: 3
Release: 4
Summary: TCP Redirection Server
License: GPL-2.0-or-later
URL: http://www.boutell.com/rinetd/
@ -79,6 +79,9 @@ install -m 644 %SOURCE2 %{buildroot}/etc/logrotate.d/rinetd
/usr/sbin/rinetd
%changelog
* Mon Sep 13 2021 lingsheng <lingsheng@huawei.com> - 0.62-4
- Fix service description typo, PIDFILE location and cannot open problem
* Mon Aug 30 2021 caodongxia <caodongxia@huawei.com> - 0.62-3
- fix miss rinetd.conf