1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# Hammerhead override of services/hammerhead/syslogd.toml shipped by # zyginit. Forces syslogd to start *after* console-login so ttymon # claims /dev/console as ctty before any potential ctty-grabbing # daemon (notably syslogd, which on Hammerhead opens /dev/log via # STREAMS and ends up with TT=console). # # Pairs with zyginit bug 001 (supervisor leaves /dev/console as # inherited fd 0 across setsid). Once that's fixed upstream this # override can be dropped. [service] name = "syslogd" description = "System log daemon" type = "daemon" [exec] start = "/etc/zyginit/services/syslogd/start.sh" [dependencies] requires = ["network", "console-login"] [restart] on = "failure" delay = 5 max_retries = 3 [contract] param = ["inherit", "noorphan"] fatal = ["hwerr"]