minit

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

minit.h (408B)


      1 #ifndef MINITROOT
      2 #define MINITROOT "/etc/minit"
      3 #endif
      4 
      5 #ifndef NOVARS
      6 static struct process {
      7   char *name;
      8 /*  char **argv; */
      9   pid_t pid;
     10   char respawn;
     11   char circular;
     12   time_t startedat;
     13   int father;	/* the service who started me or -1 if I was started directly */
     14   int __stdin,__stdout;
     15   int logservice;
     16 } *root;
     17 
     18 static int infd,outfd;
     19 static int maxprocess=-1;
     20 static int processalloc;
     21 #endif