summary refs log tree commit diff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* * doc/faq.html: new.Gerrit Pape2006-03-044-10/+8
| | | | | | | | | | | | | | | | | | | * 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.
* * doc/useinit.html: how to use runit with macosx 10.4 (thx Lars Uffmann).Gerrit Pape2005-07-211-0/+20
| | | | | * etc/macosx/org.smarden.runit.plist: new; launchd plist file for runsvdir-start (thx Lars Uffmann).
* * svlogd.c: new config option t timeout; config options e and E select andGerrit Pape2004-11-061-1/+1
| | | | | | | | | | | 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.
* * runsvdir.c:Gerrit Pape2004-08-021-1/+1
| | | | | | | 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.
* * etc/debian/3: test -r -> test -x (thx Alejandro Mery).Gerrit Pape2003-11-111-1/+1
|
* * doc/benefits.html, doc/index.html, doc/replaceinit.html,Gerrit Pape2003-10-295-7/+7
| | | | | | | | doc/runlevels.html, doc/useinit.html: default service directory is /var/service; minor. * etc/2, etc/debian/3, etc/freebsd/3, etc/macosx/StartupItems/runit, etc/openbsd/3, man/runsv.8, man/runsvchdir.8, man/runsvdir.8: default service directory is /var/service.
* introduce runsvdir-start.Gerrit Pape2003-09-221-1/+1
|
* minor.Gerrit Pape2003-06-221-1/+1
|
* * doc/index.html, doc/install.html, doc/replaceinit.html, doc/useinit.html:Gerrit Pape2003-06-222-0/+32
| | | | | | | | how to install and configure runit on MacOSX. * svlogd.c: fix incorrect handling of processor's state file; minor code cleanup. * runit-init.c: exit 0 on wrong usage. 0.10.0
* * runit.c: user select() on systems that don't provide poll() (buildsGerrit Pape2003-06-173-12/+0
| | | | | | | | | on Mac OSX). * svlogd.c: reset match flag in lineflush() in all cases. * Makefile: build setuidgid in default target. * doc/useinit.html: add instruction to create /etc/runit/2 first. * doc/install.html: minor. 0.9.5.
* debianized.Gerrit Pape2003-06-053-0/+6
|
* * svlogd.c: default log file size is 1M; print verbose message only ifGerrit Pape2003-06-055-5/+2
| | | | | | | | | | | | | | -v is set. * man/svlogd.8: document -v option; minor. * etc/freebsd/3, etc/openbsd/3: check if magic files in /etc/runit/ are executable, not readable. * etc/*/getty-tty*/run: remove utmpset from script. * etc/*/getty-tty*/finish: new: run utmpset. * doc/replaceinit.html: adapt. * setuidgid.c: new: daemontools' setuidgid drop in replacement (not installed by default). * Makefile: build setuidgid. * doc/index.html: update.
* * doc/benefits.html: new.Gerrit Pape2003-02-259-30/+47
| | | | | | | | | | | | | | | | | * doc/index.html, doc/upgrade.html: adapt. * etc/*/1, etc/*/3, etc/*/ctrlaltdel: set permissions on the magic files instead of creating and removing them (can make them symbolic links now); set PATH. * runit.h: new; centralize runit's compiled in magic file names. * runit.c: check permissions of magic files instead of sole existence; conditionally call reboot(RB_AUTOBOOT), reboot(RB_POWER_OFF), reboot(RB_HALT_SYSTEM) if possible; code cleanup. * runit-init.c: set permissions on magic files instead of creating or removing them; code cleanup. * runsvdir.c: detect and tolerate system time warp; code cleanup. * runsv.c, runsvchdir.c, runsvctrl.c, runsvstat.c, svwaitdown.c, svwaitup.c, utmpset.c: code cleanup. 0.8.0.
* * runsv.c: close finish script file descriptor.Gerrit Pape2003-01-246-13/+2
| | | | | | | | | * runsv.c: close logpipe[] instead of sending sigterm to logservice when told to exit, loggers should exit when they see EOF on stdin (thx Paul Jarc). * etc/*/1, etc/*/3: remove explicit 'exit'. * error.h: include <errno.h> (upcoming glibc changes). 0.8.2.
* grmpf, stage 3 was broken.Gerrit Pape2002-09-263-14/+19
|
* adapt stage 3.Gerrit Pape2002-09-263-44/+22
|
* * man/runsv.8, man/runsvdir.8: new.Gerrit Pape2002-09-253-18/+0
| | | | | * utmpset.c: setlock utmp and wtmp file. 0.5.4.
* minor.Gerrit Pape2002-09-243-3/+3
|
* stage 2 adapt.Gerrit Pape2002-09-233-3/+33
|
* do not restart getties in stage 3.Gerrit Pape2002-09-053-9/+0
|
* utmpset in /command. registration requested.Gerrit Pape2002-08-284-6/+3
|
* * utmpset: avoids libutil; compiles with deitlibc; built by default.Gerrit Pape2002-08-286-0/+12
| | | | | | | * doc/usedietlibc.html: fix description. * stage 3: restart getties after stopping services. * getty-*/run: add utmpset. 0.5.0.
* * utmpset.c: new option -w: additionally write wtmp record.Gerrit Pape2002-06-241-1/+1
| | | | 0.4.1.
* * src/: include public domain sources to build byte.a, unix.a, time.a:Gerrit Pape2002-05-191-0/+3
| | | | | | | runit builds without having daemontools' sources installed. * utmpset.c: new utmpset program. * doc/utmpset.html: new. 0.4.0.
* minor.Gerrit Pape2002-01-292-2/+6
|
* trap 2, 3 in stage 1 on *bsd.Gerrit Pape2002-01-292-0/+4
|
* 0.3.0.Gerrit Pape2002-01-294-23/+33
| | | | many changes, see package/CHANGES.
* code cleanup.Gerrit Pape2002-01-015-0/+38
| | | | | | TARGETS fix. install.html: typo. etc/freebsd stage files, getty service added.
* 0.2.6.Gerrit Pape2001-12-305-0/+43
|
* runs on openbsd 2.9.Gerrit Pape2001-12-301-3/+10
|
* runit: checks for pid == 1Gerrit Pape2001-12-221-1/+2
| | | | | | | new: svwaitdown, svwaitup stage3: uses svwaitdown 0.2.2 debian package
* * collects all terminated children in all stagesGerrit Pape2001-11-221-3/+6
| | | | | | | | | * sends sigkill to whole process group if stage2 crashes and waits 5 seconds before restarting * ctraltdel not automatically shuts down, now respects /etc/runit/stopit * /etc/runit/ctrlaltdel touches /etc/runit/stopit * on shutdown request: send sigterm to stage 2, wait max 5 second, send sigkill if still running, leave stage 2, enter stage 3
* getty service directory added.Gerrit Pape2001-11-161-0/+2
|
* Initial revisionGerrit Pape2001-11-164-0/+29