Update main.nim

removed cringe
This commit is contained in:
n00nehere 2021-12-04 17:48:45 +01:00 committed by GitHub
parent cad0908ccd
commit 5549f67737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ proc main(logger: Logger, mountDisks: bool = true, fstab: string = "/etc/fstab")
var sigset: Sigset
# TODO
logger.info("Processing boot runlevel")
addService(newService(name="echoer", description="prints owo", exec="/bin/echo owo",
addService(newService(name="echoer", description="prints hello world", exec="/bin/echo hello world",
runlevel=Boot, kind=Oneshot, workDir=getCurrentDir(),
supervised=false, restartOnFailure=false, restartDelay=0))
addService(newService(name="sleeper", description="la mamma di licenziato",
@ -176,4 +176,4 @@ when isMainModule:
logger.fatal(&"A fatal unrecoverable error has occurred during startup and NimD cannot continue: {getCurrentExceptionMsg()}")
nimDExit(logger, 131) # ENOTRECOVERABLE - State not recoverable
# This will almost certainly cause the kernel to crash with an error the likes of "Kernel not syncing, attempted to kill init!",
# but, after all, there isn't much we can do if we can't even initialize *ourselves* is there?
# but, after all, there isn't much we can do if we can't even initialize *ourselves* is there?