All instructions are plain text
files.
/etc/ninit/sys/run
read them each time before starting a service.
The main daemon /sbin/ninit check
only the files: depends, respawn, sync, end.
The file
end
must be executale. It is started immediately after
the service finish.
The output of the command
ls -R /etc/ninit/ is here.
A typical service directory look like:
ls -l /etc/ninit/dnscache/: -rw-r--r-- 1 root root 8 Jan 18 2007 depends -rw-r--r-- 1 root root 131 Jan 17 2007 environ lrwxrwxrwx 1 root root 18 Jan 18 2007 in -> /etc/dnscache/seed@ lrwxrwxrwx 1 root root 12 Dec 20 2006 out -> ../logger/in@ -rw-r--r-- 1 root root 42 May 21 18:54 params -rw-r--r-- 1 root root 0 Dec 21 2006 respawn lrwxrwxrwx 1 root root 23 Jan 17 2007 run -> /usr/local/bin/dnscache@ -rw-r--r-- 1 root root 32 May 20 23:55 softlimit