summary refs log tree commit diff
path: root/src/runsvdir.c
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2006-05-10 20:50:38 +0000
committerGerrit Pape <pape@smarden.org>2006-05-10 20:50:38 +0000
commitb48e23896bf0f693a14855d00ae3d5b4def5181c (patch)
tree5c6431b6e722eaa50027dd67174d7aec9d0c29db /src/runsvdir.c
parent3e5c59ae66d83c22ca864ef1bca7d327f9e25239 (diff)
downloadrunit-b48e23896bf0f693a14855d00ae3d5b4def5181c.tar.gz
runit-b48e23896bf0f693a14855d00ae3d5b4def5181c.tar.xz
runit-b48e23896bf0f693a14855d00ae3d5b4def5181c.zip
* runsv.c: delay restart of log service at least 1 sec, just as the main
    service.
  * runsvdir.c: don't double-copy filedescriptor.
Diffstat (limited to 'src/runsvdir.c')
-rw-r--r--src/runsvdir.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runsvdir.c b/src/runsvdir.c
index 897b454..a8eae39 100644
--- a/src/runsvdir.c
+++ b/src/runsvdir.c
@@ -68,9 +68,6 @@ void runsv(int no, char *name) {
     prog[0] ="runsv";
     prog[1] =name;
     prog[2] =0;
-    if (rplog)
-      if (fd_move(2, logpipe[1]) == -1)
-	warn("unable to set filedescriptor for log service", 0);
     sig_uncatch(sig_hangup);
     sig_uncatch(sig_term);
     if (pgrp) setsid();