From 923a79a7690748f6df3fc3f6d461578cb10e7f88 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 22 Sep 2008 21:34:24 +0000 Subject: runsvdir: conditionalize "log in argiment" (mis)feature. By Vladimir. with: runsv 139 141 +2 runsvdir_main 1583 1513 -70 without: warn2_cannot 14 27 +13 runsv 139 141 +2 warnx 28 16 -12 warn3x 23 - -23 runsvdir_main 1583 1125 -458 --- runit/Config.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'runit/Config.in') diff --git a/runit/Config.in b/runit/Config.in index 8a7deea..beff1e7 100644 --- a/runit/Config.in +++ b/runit/Config.in @@ -20,6 +20,15 @@ config RUNSVDIR a directory, in the services directory dir, up to a limit of 1000 subdirectories, and restarts a runsv process if it terminates. +config FEATURE_RUNSVDIR_LOG + bool "Enable scrolling argument log" + depends on RUNSVDIR + default n + help + Enable feature where second parameter of runsvdir holds last error + message (viewable via top/ps). Otherwise (feature is off + or no parameter), error messages go to stderr only. + config SV bool "sv" default n -- cgit v1.1