summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
|
* * runsv.c: don't use EOVERFLOW as it is not standard (thx ChristophGerrit Pape2003-10-2812-43/+142
| | | | | | | | | | | | | Scheurer). * reboot_system.h1, reboot_system.h2, tryreboot.c: new; test if reboot() function takes one or two arguments (solaris). * runit.c: fallthrough stage 3: re-get stderr; sync() before reboot(). * uw_tmp.h1, uw_tmp.h2, tryuwtmp.c, tryuwtmpx.c: new; test for utmpx or utmp support. * utmpset.c: support systems with utmp or utmpx (solaris). * Makefile: adapt. * supports the solaris platform (thx Uffe Jakobsen). pre 0.11.4.
* * fmt_ptime.c: calculate UTC localtime correctly.Gerrit Pape2003-09-232-2/+20
| | | | | * runsv.c: support ./supervise as symbolic link, on dangling symlink create link target.
* * svlogd.c: barf if all log directories given at the command line fail.Gerrit Pape2003-09-011-1/+4
| | | | | * man/svlogd.8: adapt. 0.11.1.
* * src/Makefile: add dependency to sysdeps to target fmt_ptime.o (thx ThomasGerrit Pape2003-08-281-1/+1
| | | | Schwinge).
* 0.11.0.Gerrit Pape2003-08-081-33/+0
|
* * uidgid.c, uidgid.h: new; get uid/gid by name.Gerrit Pape2003-08-055-7/+471
| | | | | * chpst: new; run program with a changed process state (includes envdir, envuidgid, pgrphack, setlock, setuidgid, softlimit functionality).
* * doc/index.html, doc/install.html, doc/replaceinit.html, doc/useinit.html:Gerrit Pape2003-06-222-20/+20
| | | | | | | | 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-4/+13
| | | | | | | | | 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-051-0/+33
|
* * svlogd.c: default log file size is 1M; print verbose message only ifGerrit Pape2003-06-053-5/+13
| | | | | | | | | | | | | | -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.
* minor.Gerrit Pape2003-05-042-2/+2
|
* * Makefile: actually build runsvstat, runsvctrl before installing them,Gerrit Pape2003-05-041-2/+2
| | | | | fixes build failure (thx Lukas Beeler). 0.9.3.
* * doc/dependencies.html, doc/useinit.html: new.Gerrit Pape2003-05-031-1/+5
| | | | | | | | | | * doc/index.html: adapt; reorder programs; runsvstat, runsvctrl installed by default. * doc/install.html: remove dependency on daemontools; create /package. * doc/replaceinit.html, man/runsv.8: typo. * man/svwaitdown.8, man/svwaitup.8: refer to runit and supervise. * svlogd.c: fix counter var namespace. * package/commands: add runsvctrl, runsvstat.
* * svlogd.c: reset match flag on deselection, fixes pattern matching.Gerrit Pape2003-04-301-0/+1
|
* minor.Gerrit Pape2003-04-241-8/+5
|
* grmpf.Gerrit Pape2003-04-241-1/+1
|
* * runit.c: print warning for each state that exits non-zero; restartGerrit Pape2003-04-242-9/+28
| | | | | stage 2 if it exits non-zero. minor.
* * runsvdir.c: don't propagate sig_term to runsv processes when receivingGerrit Pape2003-04-244-67/+88
| | | | | | | | | | | sig_term; send sig_term to all runsv processes and exit 111 when receiving sig_hangup. * svlogd.c: code cleanup. * svwaitdown.c: send command "d" (and "x" if -x is set) to a service if it's not in state 'want down'. * svwaitup.c: minor code cleanup. * man/runsvdir.8, man/svwaitdown.8: adapt. 0.9.0.
* minor bugfix.Gerrit Pape2003-04-202-2/+2
|
* * svlogd.c: new; runit's service logging daemon.Gerrit Pape2003-04-207-1/+763
| | | | | | * fmt_ptime.h, fmt_ptime.c, pmatch.h, pmatch.c: new. * man/svlogd.8, doc/svlogd.8.html: new. * man/runsv.8, man/runsvstat.8, man/utmpset.8: minor cleanup.
* * runsvdir.c, runsv.c: close-on-exec file descriptors of current dir andGerrit Pape2003-03-092-0/+3
| | | | | lock files (thx Lukas Beeler). 0.8.1.
* * doc/benefits.html: new.Gerrit Pape2003-02-2511-267/+188
| | | | | | | | | | | | | | | | | * 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-242-10/+22
| | | | | | | | | * 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.
* avoid unnecessary warning.Gerrit Pape2002-10-221-0/+1
|
* * runsvdir.c: continue reading directory when stat() on entry fails.Gerrit Pape2002-10-211-1/+1
|
* man pages written. debian_version_0_7_0-3Gerrit Pape2002-10-182-2/+2
|
* minor.Gerrit Pape2002-10-071-0/+1
|
* 0.7.0.Gerrit Pape2002-10-071-8/+21
|
* minor.Gerrit Pape2002-10-061-24/+22
|
* 0.6.4.Gerrit Pape2002-10-064-36/+43
|
* minor.Gerrit Pape2002-10-041-1/+2
|
* * runsv.c: sleep 1 second before exiting on fatal error.Gerrit Pape2002-10-046-22/+126
| | | | | | | | * runsvdir.c: check service directory's inode and device in addition to mtime; sleep 1 second if stat(service directory) fails. * runsvstat.c: new option -l: only show log service if -l is set. * runsvchdir: new; change service directory runsvdir is running in. 0.6.3.
* fix state finish.Gerrit Pape2002-09-271-1/+1
|
* minor.Gerrit Pape2002-09-272-12/+5
|
* rename rsv-* to runsv*.Gerrit Pape2002-09-274-16/+16
|
* cleanup. doc.Gerrit Pape2002-09-264-59/+132
|
* * man/runsv.8, man/runsvdir.8: new.Gerrit Pape2002-09-253-9/+26
| | | | | * utmpset.c: setlock utmp and wtmp file. 0.5.4.
* minor.Gerrit Pape2002-09-241-4/+12
|
* support symlinked /service directory.Gerrit Pape2002-09-241-3/+4
|
* code cleanup.Gerrit Pape2002-09-243-25/+21
|
* * rsv-status: new; svstat for runsv.Gerrit Pape2002-09-235-5/+268
| | | | * rsv-control: new; svc for runsv.
* * runsv, runsvdir: new; svscan/supervise replacement.Gerrit Pape2002-09-234-2/+730
| | | | 0.5.2.
* * utmpset: avoids libutil; compiles with deitlibc; built by default.Gerrit Pape2002-08-283-12/+77
| | | | | | | * doc/usedietlibc.html: fix description. * stage 3: restart getties after stopping services. * getty-*/run: add utmpset. 0.5.0.
* minor.Gerrit Pape2002-06-251-1/+1
|
* add utmpset[.o].Gerrit Pape2002-06-241-0/+2
|
* enable target sysdeps.Gerrit Pape2002-06-242-3/+5
|
* * utmpset.c: new option -w: additionally write wtmp record.Gerrit Pape2002-06-241-5/+23
| | | | 0.4.1.
* * src/: include public domain sources to build byte.a, unix.a, time.a:Gerrit Pape2002-05-192-0/+24
| | | | | | | runit builds without having daemontools' sources installed. * utmpset.c: new utmpset program. * doc/utmpset.html: new. 0.4.0.