aboutsummaryrefslogtreecommitdiffstats
system-ml

goetia-base
goetia
Software
0x53.net

The system-ml program

system-ml automatically creates logging service source directories for longrun services in the system configuration directory. To create the logging service source directories, system-ml uses longrun-make internally.

Interface

     system-ml
  • system-ml takes no arguments.
  • It deletes the src/generated-logger subdirectory of the system configuration directory.
  • It scans the src subdirecotry of the system configuration directory for longrun services.
  • It checks for each longrun it detects, whether its source directory contains a file no-ml. If this file exits, this longrun is skipped in the subsequent logger generation.
  • It generates a logging service source directory at src/generated-logger/@longrun@-log in the system configuration directory. It does so in parallel for each longrun @longrun@-srv it found.

Exit codes

  • Since system-ml is an execline script, it exits with an approximation of employed program that failed.
  • system-ml mostly uses execline and s6 software, the exit behaviour of which can be looked up on their respective pages.
  • See also: execline exit code handling.

Options

  • There are no options to system-ml.

Notes

The logger services created by this script will drop privileges to @loguser@, which must exist at runtime. (see log directory).