feat: init - dynamic service discovery via init.toml

This commit is contained in:
2026-08-10 17:00:52 +02:00
parent e25ef470e0
commit 69725658cf
4 changed files with 174 additions and 27 deletions
+44
View File
@@ -0,0 +1,44 @@
# MontaukOS init services
#
# Services are started in declaration order. Available fields:
# path executable to spawn (required)
# name display name used in the boot log (defaults to the table id)
# enabled whether init should consider the service (defaults to true)
# wait wait for the process to exit before continuing (defaults to true)
# optional quietly skip the service when its executable is absent
# fallback service id to start if spawning this service fails
# fallback_only define the service for fallback use without starting it normally
[services.dhcp]
path = "0:/os/dhcp.elf"
enabled = true
wait = false
[services.ntp]
path = "0:/os/ntp.elf"
name = "network time"
enabled = true
wait = false
[services.printd]
path = "0:/os/printd.elf"
name = "print spooler"
enabled = true
wait = false
optional = true
[services.login]
path = "0:/os/login.elf"
enabled = true
fallback = "desktop"
[services.desktop]
path = "0:/os/desktop.elf"
enabled = true
fallback = "shell"
fallback_only = true
[services.shell]
path = "0:/os/shell.elf"
enabled = true
fallback_only = true