aboutsummaryrefslogtreecommitdiffstats
path: root/net/rinetd/files
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2001-07-19 20:54:20 +0800
committermarkp <markp@FreeBSD.org>2001-07-19 20:54:20 +0800
commitfeccc281cba96b20de13a5ce7c848b7f3d7928a4 (patch)
treee22cece26e0793de7f671b05c47e320d200707b0 /net/rinetd/files
parent5f0e0012c45fca56753b3f12335274059315c843 (diff)
downloadfreebsd-ports-gnome-feccc281cba96b20de13a5ce7c848b7f3d7928a4.tar.gz
freebsd-ports-gnome-feccc281cba96b20de13a5ce7c848b7f3d7928a4.tar.zst
freebsd-ports-gnome-feccc281cba96b20de13a5ce7c848b7f3d7928a4.zip
Patch rinetd to properly become a daemon. Also drop maintainership.
PR: 27049 Submitted by: Dmitry A. Yanko <fm@astral.ntu-kpi.kiev.ua> Approved by: maintainer
Diffstat (limited to 'net/rinetd/files')
-rw-r--r--net/rinetd/files/patch-ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/rinetd/files/patch-ac b/net/rinetd/files/patch-ac
new file mode 100644
index 000000000000..c7797d5978ce
--- /dev/null
+++ b/net/rinetd/files/patch-ac
@@ -0,0 +1,10 @@
+--- rinetd.c.orig Thu Jul 19 22:19:59 2001
++++ rinetd.c Thu Jul 19 22:20:26 2001
+@@ -243,6 +243,7 @@
+ signal(SIGHUP, hup);
+ #endif /* WIN32 */
+ signal(SIGTERM, term);
++ setsid();
+ initArrays();
+ readConfiguration();
+ RegisterPID();