minit

A small yet feature-complete init (http://fefe.de/minit/)
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2023-08-01 14:14rework execleitner1+20-4
2022-05-24 09:47modernize codebase a bit, fix bug when params didn't end in newlineleitner8+103-37
2020-07-20 14:42fix memory leaks (fount be Giorgio)leitner2+12-2
2018-09-29 17:52add sepcodeleitner1+1-0
2018-09-29 14:36introduce sepcodeleitner1+18-13
2017-03-13 13:38move libowfat includesleitner10+36-27
2015-04-13 18:30make cleanerleitner1+2-1
2015-04-13 18:30 add governor (demo tool to set CPU frequency governor based on AC state, not actually needed anymore with current hardware, not actually installed)leitner3+87-0
2015-04-13 18:29 add powersave (demo tool to set up power saving, needs customization, not actually installed)leitner4+90-1
2015-04-13 18:23copy&paste docu bugleitner1+1-1
2015-04-13 18:22also install section 1 man pagesleitner1+2-1
2015-04-11 07:23add waitinterface and waitportleitner5+255-3
2014-10-28 13:55add workaround for inotify raceleitner2+28-4
2014-10-27 14:06document race conditionleitner1+14-1
2014-10-27 13:46ftrigger needs inotifyleitner1+3-8
2014-10-27 13:04document ftriggerleitner2+42-1
2014-10-27 12:55fix the case with a full path in the filenameleitner1+1-1
2014-10-01 10:49when all services exit, run sulogin if pid 1, exit otherwiseleitner1+8-9
2014-09-29 14:16don't start sulogin if not running as pid 1leitner1+2-1
2014-09-25 15:29more ignoranceleitner1+1-0
2014-09-25 15:29 add ftrigger (run a command if a file changes)leitner3+204-2
2014-09-25 12:36get rid of dietlibc dependencyleitner1+1-3
2014-09-25 12:21 a service can now contain a "root" symlink to where it should be started only install SIGWINCH and SIGINT if running with PID 1 you can now do "make MINITROOT=/var/minit"leitner3+48-7
2014-09-25 11:20typo in minit.8 use MINITROOT in make installleitner2+5-3
2014-09-24 12:26some cosmetic changesleitner1+11-9
2014-09-24 09:58allow overriding MINITROOT by setting it in the environmentleitner2+6-0
2014-09-24 09:36document ulimitleitner1+1-0
2014-09-24 09:36remove superfluous variablesleitner1+4-5
2014-09-23 15:54location of MINITROOT has changedleitner1+1-1
2013-05-31 16:47better man pagesleitner2+105-12
2012-08-13 15:21fix comment skippingleitner1+9-2
2010-07-20 23:08fix serdoleitner1+6-5
2010-07-20 22:33document ulimitleitner1+3-2
2010-07-20 22:32add ulimit support to serdoleitner1+46-3
2008-09-23 19:32fix quotingleitner1+2-2
2008-09-05 15:15serdo will now ignore the exit code of lines starting with '-'leitner1+4-1
2007-11-29 23:44 fix (apparently unexploitable) stack clobber in serdo (found by Nikola Vladov, many thanks)leitner2+5-2
2007-09-04 14:36 when serdo is run without arguments, and a file called "script" exists in the current working directory, executes that (to save a few inodes for the "params" filesleitner3+16-1
2006-03-25 21:43mention libowfat in READMEleitner1+2-0
2006-02-17 07:42add a few small features like: - changing the nice - redirecting the output without extra log processsanjiyan2+30-0
2005-09-22 12:33Fix stupid core dump when printing error message (Nikola Vladov)leitner1+1-1
2005-05-12 15:39don't overwrite system shutdownleitner2+3-3
2005-04-08 17:23fix make tar targetleitner1+1-1
2005-04-08 17:18 added small special-purpose malloc using a static buffer before calling the real malloc (Nikola Vladov)leitner3+42-1
2005-03-31 17:56 fix msvc -d followed by msvc -h (would send SIGHUP to pid 1, i.e. kill minit; found by Paul Fox)leitner1+2-0
2005-03-31 17:55Don't send signal to already terminated process, because minit uses 1 to signal that condition, and msvc then killed minit itself. Found by Paul Fox.leitner1+3-0
2005-03-30 09:58allow minit to stay around without services if it is running as rootleitner1+3-2
2005-02-26 17:00 add usage for serdo (Nikola Vladov)leitner2+2-1
2005-02-24 09:10malloc -> allocaleitner2+4-2
2004-12-31 01:14add serdo and man pageleitner3+40-3
2004-12-25 17:04cvsignore serdoleitner1+1-0
2004-12-25 16:58fix export in serdoleitner1+1-0
2004-12-25 16:54rip out old libowfat copy, require real libowfat instead add serdo (to run n commands in sequence)leitner22+255-483
2004-09-10 07:14allow service blacklisting using -servicenameleitner2+20-2
2004-04-08 15:59fix -d, tooleitner1+2-1
2004-04-08 15:35document fixleitner1+2-0
2004-04-08 15:34oops, do not kill(0,...) if readpid failedleitner1+1-2
2004-03-17 12:19add history mode (msvc -H)leitner4+80-1
2004-03-04 20:04Kosmetik....sanjiyan1+8-8
2004-03-04 17:53also install the man pagesleitner1+3-1
2004-03-04 17:47add -D to msvc -h remove debug printfleitner3+4-23
2004-02-20 05:10cosmeticsleitner3+12-7
2004-02-20 04:49add minit-update to cvsignoreleitner1+1-0
2004-02-20 04:46write two 0s to make sureleitner2+1-2
2004-02-20 04:42msvc -D service will now print all the dependencies of that services that are running.leitner5+94-18
2004-02-19 22:47add some great man pages by Erich Schubert (he wrote them for the Debian project) do not assume MINITROOT is 10 chars long in msvc (fix also from Erich Schubert)leitner8+262-2
2004-01-29 14:40#include minit.h and use MINITROOT consistently (Lordy)leitner6+19-14
2004-01-12 00:30read two bytes too many (Raffael Himmelreich)leitner1+1-1
2003-12-05 16:48head -1 -> head -n 1leitner1+1-1
2003-11-14 19:09add minit-update (Florian Westphal)leitner6+295-29
2003-10-31 18:01Several cleanups by Florian Westphalleitner5+27-21
2003-09-26 12:45add minit.hleitner6+32-19
2003-09-22 18:47cleanupscvs3+68-24
2003-06-23 14:23credit Berndleitner1+1-0
2003-06-23 14:21exec sulogin directlyleitner1+4-2
2003-06-23 14:19typoleitner1+1-1
2003-06-19 10:51install as /sbin/init if it does not existleitner1+1-0
2003-06-19 10:50mkdir before make installleitner1+1-1
2003-05-27 10:57opendevconsoleleitner4+23-13
2003-05-27 10:51fix shutdown (Thomas Schwinge)leitner1+6-3
2003-05-26 22:27update str_len -> strlenleitner3+30-1
2003-05-26 22:19close fifos in shutdown import str_len alias to strlen from libowfat-cvsleitner2+7-2
2003-05-20 16:20shutdown fixes (from Florian)leitner2+3-2
2003-05-20 13:55sys/fcntl.h -> fcntl.hleitner4+4-5
2003-05-13 20:14remove compiler warningsleitner9+29-65
2003-05-09 16:02msg -> __write2 in shutdownleitner2+49-41
2003-05-09 15:51mention shutdown in changelogleitner1+1-0
2003-05-09 15:49add shutdown and killall5 to cvsignoreleitner1+2-0
2003-05-09 15:49add shutdownleitner2+259-2
2003-04-28 11:19add contributed killall5 and ctrlaltdel-run scriptleitner4+108-2
2003-04-27 19:08fix typo causing msvc to segfault after the jobleitner2+4-1
2003-04-24 16:26add msvc -g (get pid for shell script)leitner3+18-3
2003-04-24 16:16get msvc exit code right add small comment "documentation" to listpidsleitner2+6-3
2003-04-24 16:13mention graphvizleitner1+2-0
2003-04-24 16:08make clean also removes write_proc msvc.8 now says that you can specify more than one serviceleitner2+4-2
2003-04-24 16:02add heuristic to detect time zone change after minit started and still report the correct elapse time since process start to msvc.leitner2+48-16
2003-04-24 14:58strip /etc/minit/ before service nameleitner4+45-17
2003-04-24 14:44 minit now checks whether a PID actually exists before accepting msvc -P this removes a race condition when the forked service terminates before pidfilehack notifies minit of the PID msvc now accepts more than one service after -o, -d, ...leitner3+57-33
2003-03-15 00:57add minit-graph from Tommi Virtanen (output ps dependency graph)leitner3+52-1
2002-10-22 17:17lines in depends can now be commented out with a # add a method to clear dead services (mark as terminated)sanjiyan3+44-13
2002-09-06 18:01new byte_copy from libowfatleitner1+10-12
2002-06-14 13:28add \n to error messageleitner1+1-1
2002-06-04 23:43cosmetic changesleitner2+10-5
2002-03-23 22:08ignore write_proc binarysanjiyan1+1-0
2002-03-22 21:21add write_proc "make install" now installs hard-reboot and write_proc in /sbinsanjiyan3+23-1
2002-02-28 16:34add hard-rebootleitner2+33-0
2002-02-28 16:34include GPLv2 and add some patches from Tommi Virtanenleitner3+357-7
2002-02-20 01:38record time when processes finishleitner3+13-1
2002-02-05 16:16document default, ctrlaltde and kbreq servicesleitner1+15-0
2001-12-06 15:20reap zombies faster.leitner2+8-2
2001-12-04 21:07add todoleitner1+3-0
2001-12-04 21:06don't start service dependencies if they are not marked respawn and already ran.leitner2+7-2
2001-11-26 17:40import more changes from libowfatleitner6+72-18
2001-11-26 17:37import changes from libowfatleitner8+36-34
2001-11-24 23:12better installation support, and portability bugfix from libowfat.leitner2+10-3
2001-11-22 02:32fix the logging bugleitner2+7-3
2001-11-13 00:07be more stringent with the file descriptorsleitner1+13-6
2001-11-13 00:05install msvc to /bin, not to /usr/sbin, so it is in the default path of execvp and pidfilehack finds it.leitner1+2-1
2001-11-08 21:32fix minit and msvc so they handle msvc -P correctly.leitner3+24-16
2001-11-08 19:47add one suloginleitner1+13-12
2001-11-08 18:29fix sync handling, add listpids (lists running services, useful for shutdown?)leitner2+62-55
2001-11-08 18:02boast about man pageleitner1+2-1
2001-11-08 18:01add man page, twiddle return codes.leitner3+100-5
2001-11-08 16:38oops, sigchild needs to be in there, it just does not need to do anything.leitner1+5-3
2001-11-08 16:30switch to sigaction and use SA_RESTART. Oops.leitner1+18-20
2001-11-08 15:18increase poll timeout, try to make top not display "run" as process nameleitner1+2-2
2001-11-08 15:05no more zombies!leitner1+22-9
2001-11-08 14:05testingleitner1+36-7
2001-11-07 15:41make each watched process his own process groupleitner2+25-0
2001-11-02 19:36oops, set wrong variable to 0 for keyboard request.leitner1+1-1
2001-08-30 20:17mention multilogleitner1+3-0
2001-08-30 20:15 add "log" subdirectory (see README). get rid of stdio and *printf and switch to routines from libowfat.leitner3+18-2
2001-08-30 19:59add buffering and formatting from libowfatleitner17+379-60
2001-07-10 20:21oinkleitner2+10-6
2001-02-09 18:22ctrl-alt-del will start the service "ctrlaltdel", the keyboard request (normally alt-arrowup) will start the service "kbreq". Untested.leitner2+27-1
2001-02-02 20:45add CHANGES.leitner2+13-0
2001-02-02 20:36make clean now also deletes pidfilehack.leitner1+1-1
2001-02-02 20:36added cvsignore ;-]leitner1+4-0
2001-02-02 20:35added pidfilehack.leitner3+85-11
2001-02-02 19:14Initial revisionleitner7+672-0