summaryrefslogtreecommitdiff
path: root/man/start-stop-daemon.8
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-06-17 06:54:40 +0200
committerGuillem Jover <guillem@debian.org>2012-06-30 06:35:23 +0200
commit3de1552982f9ff60f59826d1811b2f8c0add8325 (patch)
tree657f85f9ba834d0cd666ac9f4adbc7edbfc87d50 /man/start-stop-daemon.8
parent3c7d916003c0d6e0d5c97de0b6cfb008ea9f13f4 (diff)
downloaddpkg-3de1552982f9ff60f59826d1811b2f8c0add8325.tar.gz
s-s-d: Add new --no-close option to disable closing fds on --background
This enabled the caller to see process messages for debugging purposes, or to be able to redirect file descriptors to log files, syslog or similar. Closes: #627333, #646425
Diffstat (limited to 'man/start-stop-daemon.8')
-rw-r--r--man/start-stop-daemon.88
1 files changed, 7 insertions, 1 deletions
diff --git a/man/start-stop-daemon.8 b/man/start-stop-daemon.8
index ca188ec6a..14eea0a5d 100644
--- a/man/start-stop-daemon.8
+++ b/man/start-stop-daemon.8
@@ -20,7 +20,7 @@
.\" You should have received a copy of the GNU General Public License
.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
.
-.TH start\-stop\-daemon 8 "2012-05-17" "Debian Project" "dpkg utilities"
+.TH start\-stop\-daemon 8 "2012-06-17" "Debian Project" "dpkg utilities"
.SH NAME
start\-stop\-daemon \- start and stop system daemon programs
.
@@ -245,6 +245,12 @@ reason. This is a last resort, and is only meant for programs that either
make no sense forking on their own, or where it's not feasible to add the
code for them to do this themselves.
.TP
+.BR \-C ", " \-\-no\-close
+Do not close any file descriptor when forcing the daemon into the background.
+Used for debugging purposes to see the process output, or to redirect file
+descriptors to log the process output.
+Only relevant when using \fB\-\-background\fP.
+.TP
.BR \-N ", " \-\-nicelevel " \fIint\fP"
This alters the priority of the process before starting it.
.TP