Fix service description typo, PIDFILE location and cannot open problem
This commit is contained in:
parent
e5ab9c7e18
commit
64fa39ae89
@ -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]
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user