summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* dist.Gerrit Pape2006-03-042-4/+4
|
* * chpst: new option -d, limit data segment per process; don't use nestedGerrit Pape2006-03-041-58/+62
| | | | functions.
* * doc/faq.html: new.Gerrit Pape2006-03-042-4/+3
| | | | | | | | | | | | | | | | | | | * doc/benefits.html: use sv program instead of runsvstat, runsvctrl; minor. * doc/replaceinit.html, doc/runlevels.html: put getty service directory into /etc/sv/. * doc/runscripts.html: use sv program instead of svwaitup. * etc/*/3, etc/macosx/StartupItems/runit: use sv program instead of svwaitdown. * man/runsv.8: use sv program instead of runsvctrl. * man/sv.8: minor. * Makefile, package/commands: no longer build/install runsvctrl, runsvstat, svwaitdown, svwaitup. * man/runsvctrl.8, man/runsvstat.8, man/svwaitdown.8, man/svwaitup.8: remove; obsolete. * doc/index.html: add faq; remove runsvctrl, runsvstat, svwaitdown, svwaitup. * sv.c: fix usage output.
* * chpst.c: adjust nice value and set limits before dropping permissions.Gerrit Pape2006-01-022-8/+10
| | | | | | | * sv.c: new additional command 'check'; with -v check for CONT through ./check if service is up. * man/sv.8: adapt. 1.3.3.
* * svlogd.c: don't print extra newlines to the log if additionally writingGerrit Pape2005-12-182-2/+2
| | | | | | | | | | | | | | | | | to the network through udp (thx Andras Korn, http://bugs.debian.org/339030). * runsvdir.c: also process svdir changes if mtime of svdir has changed into the past (thx Martin Dickopp). * doc/index.html: update description; Please contact this list and not me privately. * doc/replaceinit.html, doc/runscripts.html: minor. * man/chpst.8: -U doesn't support a list of groups. * man/svlogd.8: update PATTERN MATCHING section, add example (based on sugesstions from Joshua N Pritikin). * man/*8: update SEE ALSO sections: runsvctrl, runsvstat, svwaitdown, svwaitup will become obsolete; remove references to man pages for programs from the daemontools package. 1.3.2.
* sv.c: print warning to stderr; use very first command to check against.Gerrit Pape2005-08-241-14/+15
|
* * doc/runscripts.html: typo; openssh needs absolute path (thx Kevin Berry);Gerrit Pape2005-08-235-25/+77
| | | | | | | | | exec into dhcpcd. * uidgid.c, uidgid.h, chpst.c: support colon-separated list of groups. * sv.c: utilize optional ./check script in service directory to check for availablity of service. * runsv.c: wait_pid() might be interupted. * man/chpst.8, man/sv.8: adapt.
* have control() support multiple characters.Gerrit Pape2005-07-241-29/+32
|
* minor.Gerrit Pape2005-07-241-9/+9
|
* more cleanup; support D, X, force-shutdown, force-down.Gerrit Pape2005-07-241-45/+49
|
* support SVDIR environment variable.Gerrit Pape2005-07-231-7/+5
|
* re-add -ko.Gerrit Pape2005-07-231-0/+12
|
* grmpf. To be re-added -ko.Gerrit Pape2005-07-231-12/+0
|
* minor.Gerrit Pape2005-07-233-1/+7
|
* cleanup.Gerrit Pape2005-07-231-59/+67
|
* minimal sv.check.Gerrit Pape2005-07-234-1/+35
|
* * chpst.c: fix pointer types.Gerrit Pape2005-07-231-12/+16
|
* runsv.check: adapt.Gerrit Pape2005-07-231-0/+3
|
* * sv.c: new sv program to control services, optionally can be linked toGerrit Pape2005-07-233-0/+326
| | | | | /etc/init.d/ as lsb "init script" command line interface. * Makefile, TARGETS: adapt.
* * runsv.c: optimize output buffer handling; porperly run custom t, d, x,Gerrit Pape2005-07-231-13/+25
| | | | k, when stopping service; no longer support e control character.
* * svlogd.c: write to log dir after possibly writing through udp (fixesGerrit Pape2005-07-111-4/+4
| | | | line break issue).
* * man/runsv.8: typo; no longer document the e control character; clarifyGerrit Pape2005-07-113-6/+8
| | | | | | custom control on d and x. * runsvchdir.c, runsvstat.c: optimize output buffer handling. * runsvctrl.c: write x control character to runsv on e.
* * svlogd.c: properly prefix log messages written to standard error withGerrit Pape2005-04-034-4/+5
| | | | | | | optional timestamp. * runsvctrl.c, svwaitdown.c, svwaitup.c: supervise not running -> runsv not running. * package/README: 2005.
* * runsv.c: typos; bugfix: run optional control/x when receiving SIGTERMGerrit Pape2005-01-141-8/+11
| | | | | (thx Vladimir Smelhaus); minor. 1.2.1.
* dist.Gerrit Pape2005-01-122-4/+4
|
* * chpst.c: typo.Gerrit Pape2005-01-103-24/+39
| | | | | | | | | * svwaitdown.c: minimum timeout is 1 second; service directories no longer must start with /. * svwaitup.c: minimum uptime of services is 1 second; service directories no longer must start with /; print number of seconds a service is up if verbose. * man/svwaitdown.8, man/svwaitup.8: adapt.
* don't update timestamp in status when running ./finish; only sleep for a secondGerrit Pape2004-12-131-11/+13
| | | | | if ./run has been restarted within a second, and after updating status to down, normally up, want up.
* * runsv.check, runsv.dist: check custom control commands.Gerrit Pape2004-12-123-24/+43
| | | | minor.
* * doc/upgrade.html: typo.Gerrit Pape2004-12-121-16/+51
| | | | | | * runsv.c: support custom control commands through control/ directory, optionally switch off sending signal. * man/runsv.8: document custom control commands.
* .dist.Gerrit Pape2004-11-062-4/+5
|
* * svlogd.c: new config option t timeout; config options e and E select andGerrit Pape2004-11-064-244/+350
| | | | | | | | | | | deselect lines for stderr respectively; new config option N. * man/svlogd.8: adapt. * runsv.c: on commands down and exit send CONT after TERM. * man/runsv.8: adapt. * etc/2: use -P option to runsvdir. * src/svlogd.check: end check for t config option. * chpst.c: new option -n: adjust nice level. * man/chpst.8: adapt.
* dist output.Gerrit Pape2004-09-211-1/+1
|
* * runsvdir.c: new option -P, run each runsv process in a new session andGerrit Pape2004-09-211-1/+10
| | | | | process group (thx Charlie Brady). * man/runsvdir.8: adapt; typo.
* * svlogd.c: fix line buffer handling for pattern matching (thx EnricoGerrit Pape2004-09-201-190/+182
| | | | | | | | | | Scholz); minor bug fixes. * doc/index.html: wording; add link to useinit.html; remove link to runit on LinuxFromScratch. * doc/runscripts.html: add hint, some getties need to be run in a new session/process group (thx Dan Melomedman). * man/svlogd.8: minor fixes. * man/svwaitdown.8: remove hint about -x option.
* * runsvdir.c:Gerrit Pape2004-08-021-15/+17
| | | | | | | sleep one second before scanning if services dir mtime is now; loop while chdir to starting dir fails; rename log, loglen to rplog, rploglen. * etc/macosx/StartupItems/runit: use -x option to svwaitdown; timeout 14.
* * runsvdir.c: check services dir again after one second until it'sGerrit Pape2004-08-011-10/+14
| | | | unchanged (thx Eric Lammerts); loop while chdir to starting dir fails.
* * runit.c, man/runit.8: if stage 1 crashes or exits 100, stage 2 will beGerrit Pape2004-06-261-14/+15
| | | | | skipped; if stage 2 crashes or exits 111, it will be restarted. * doc/runscripts.html: add, adapt various run scripts (thx).
* chdir before chroot.Gerrit Pape2004-04-301-1/+4
|
* dist.Gerrit Pape2004-04-271-2/+2
|
* chpst: support -/ chroot.Gerrit Pape2004-04-271-2/+6
|
* * man/svlogd.8: timestamps are not considered when matching patterns (thxGerrit Pape2004-03-284-5/+9
| | | | | | | | | Andras KORN). * runsv.c: on exit run the finish scripts when taking the service down (thx X.). * runsv.c, runsvctrl.c: handle sig_quit (thx Wayne Marshall). * svlogd.c: don't crash on zero byte long config file (thx Alex Efros). * man/*: minor cleanup.
* * check-diff, check-dist, check-local, package/check: new; run checks onGerrit Pape2004-03-0829-3/+368
| | | | | | | | | | | | | | programs. * package/install: run package/check. * chpst.check, runit-init.check, runit.check, runsv.check, runsvchdir.check, runsvctrl.check, runsvdir.check, runsvstat.check, svlogd.check, svwaitdown.check, svwaitup.check, utmpset.check: new; check program. * chpst.dist, runit-init.dist, runit.dist, runsv.dist, runsvchdir.dist, runsvctrl.dist, runsvdir.dist, runsvstat.dist, svlogd.dist, svwaitdown.dist, svwaitup.dist, utmpset.dist: new; dist check program output. 1.0.1
* * runsv.c: allow log/supervise also to be a dangling symlink; moreGerrit Pape2004-03-021-9/+27
| | | | meaningful error message if opening lock or locking fails.
* * chpst.c: -e dir: silently ignore directories, print warning if verbose.Gerrit Pape2004-03-021-3/+11
|
* use gmtime(), not localtime().Gerrit Pape2004-03-021-1/+2
|
* 0.13.1.Gerrit Pape2004-01-192-2/+2
|
* * svlogd.c: bugfix: properly print new-line character to the log on endGerrit Pape2004-01-194-7/+39
| | | | | | | of line (thx Pawel Chmielowski). * trysocketlib.c: new; check for libraries needed for socket() on some systems (fixes link failure on solaris, thx Uffe Jakobsen). * Makefile: adapt.
* * svlogd.c: support sending log entries to remote host through udp,Gerrit Pape2004-01-121-18/+92
| | | | | configurable through u and U lines in log dir config file; minor. * man/svlogd.8: adapt.
* * runsv.c: don't start new processes while collecting children.Gerrit Pape2003-11-111-21/+4
|
* * etc/debian/3: test -r -> test -x (thx Alejandro Mery).Gerrit Pape2003-11-111-1/+12
|