mirror of
https://github.com/Soccera1/init.git
synced 2026-02-04 07:53:40 +01:00
Update docs
This commit is contained in:
parent
2df3636b6a
commit
328dc018a6
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ gcc src/solver.c -o bin/solver
|
||||||
## Development Conventions
|
## Development Conventions
|
||||||
|
|
||||||
### Service Scripts
|
### Service Scripts
|
||||||
- **Location:** Place scripts in the directory defined by `INIT_DIRECTORY` (default: `examples/`).
|
- **Location:** Place scripts in the directory defined by `INIT_DIRECTORY` (default: `/etc/init/init.d`).
|
||||||
- **Naming:**
|
- **Naming:**
|
||||||
- Runlevel-specific: `<runlevel>.<generic_name>` (e.g., `1.logging.sh`). These are typically **symlinks** to the generic scripts.
|
- Runlevel-specific: `<runlevel>.<generic_name>` (e.g., `1.logging.sh`). These are typically **symlinks** to the generic scripts.
|
||||||
- Generic: `<generic_name>` (e.g., `logging.sh`). This is the file actually executed by the runner.
|
- Generic: `<generic_name>` (e.g., `logging.sh`). This is the file actually executed by the runner.
|
||||||
|
|
|
||||||
|
|
@ -23,4 +23,4 @@ gcc src/solver.c -o bin/solver
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Service scripts are located in `examples/`. Dependencies are declared on the first line of runlevel-specific scripts (e.g., `1.service.sh`) using a `#` prefix followed by the generic script names.
|
Example service scripts are located in `examples/`. Dependencies are declared on the first line of runlevel-specific scripts (e.g., `1.service.sh`) using a `#` prefix followed by the generic script names.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue