From 64fa39ae89a6b7a024028005fb669ac7c20689b6 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Mon, 13 Sep 2021 17:37:04 +0800 Subject: [PATCH] Fix service description typo, PIDFILE location and cannot open problem --- rinetd.service | 5 +++-- rinetd.spec | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/rinetd.service b/rinetd.service index e62362e..7fd33be 100644 --- a/rinetd.service +++ b/rinetd.service @@ -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] diff --git a/rinetd.spec b/rinetd.spec index 2b8b1ac..24581fe 100644 --- a/rinetd.spec +++ b/rinetd.spec @@ -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 - 0.62-4 +- Fix service description typo, PIDFILE location and cannot open problem + * Mon Aug 30 2021 caodongxia - 0.62-3 - fix miss rinetd.conf