Files

50 lines
1.8 KiB
INI

; nt-lite user-mode system services.
;
; init.exe loads this mandatory file from the bootstrap system volume.
; [service.<id>] Service identity; the <id> suffix is case-sensitive.
; image= Executable path relative to the bootstrap system volume.
; start= auto starts at boot; disabled prevents automatic startup.
; critical= Whether service failure is fatal to system startup (true/false).
; restart= Restart policy (never or on-failure; current adapters restrict usage).
; ready_timeout_ms= Milliseconds allowed for the service READY handshake.
; stop_timeout_ms= Milliseconds allowed for graceful service shutdown.
; requires= Comma-separated service IDs that must start first; empty is allowed.
; grants= Comma-separated capability sources delegated at startup; empty is allowed.
; exports= Names of handles this service must transfer at READY; empty is allowed.
; Source names are boot.<name> or <service-id>.<ready-export>.
; Each service key is mandatory. Comments occupy separate lines.
; RSSRV defines publisher names and their allowed paths; init only forwards handles.
[service.rssrv]
image=system/rssrv.exe
start=auto
critical=true
restart=never
ready_timeout_ms=5000
stop_timeout_ms=5000
requires=
grants=boot.namespace-root,boot.volume-manager,boot.input-manager,boot.display-policy,boot.resource-registration
exports=session-control,desktop-publisher,posix-publisher
[service.posix]
image=system/posixsrv.exe
start=auto
critical=false
restart=never
ready_timeout_ms=5000
stop_timeout_ms=5000
requires=rssrv
grants=rssrv.posix-publisher
exports=public
[service.dwm]
image=system/dwm.exe
start=auto
critical=false
restart=never
ready_timeout_ms=5000
stop_timeout_ms=5000
requires=rssrv
grants=boot.display-present,rssrv.session-control,rssrv.desktop-publisher
exports=desktop