Browse Source

* continued doc/sid.txt, road to model .init and .tail files.

git-svn-id: svn://svn.opensde.net/opensde/opensde/branches/sid@20142 10447126-35f2-4685-b0cf-6dd780d3921f
user/amery/sid
Alejandro Mery 18 years ago
parent
commit
533e1de311
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      doc/sid.txt

+ 22
- 0
doc/sid.txt

@ -1,6 +1,28 @@
general user space delimited list of usernames
general group space delimited list of groupnames
general mimetype space delimited list of mimetypes
general type type of sid file
- daemon run (stays)
- tcp run, port (needs tcp-to-stdin/stdout help)
- config run? (no process stays)
general desc description to show when `title`
general conffile file to source before [common] if exist
general run file or function to run on start
general runmode how does this thing works (foreground/background)
- fg always foreground
- bg always background (OUTCH!)
- opt option dependent
- conf own configuration only (OUTCH!)
general runopt arguments to pass always to $general_run
general runbgopt arguments to pass to $general_run when we want it to run on background (sysvinit style)
general runfgopt arguments to pass to $general_run when we want it to run on foreground (daemontools style)
$(mimetype) program command line to execute, %s for filename
$(mimetype) extension space delimited list of extensions
sysvinit prio priority (0-99) for start/stop order
sysvinit runlevel X 1 2 3 4 5
pre-conffile (raw) code block to execute before testing the conffile
start (raw) code block to execute to start/do the process/task

Loading…
Cancel
Save