Hi Lennart,<div><br></div><div>Thank you for the reply. Still get one question: what does the comment "Proper handling of /dev/console would be cool" mean?</div><div><br></div><div>I found exec_spawn(src/execute.c) will call default_term_for_tty:</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>our_env[n_env++] = strdup(default_term_for_tty(tty_path(context)))</div></blockquote>If I didn't specify TTYPath in .service, then tty_path will return "/dev/console", which causes default_term_for_tty always to return "TERM=vt100-nav".<div>
<br clear="all"><br></div><div><br></div><div><br>-- <br>Regards,<div><br><div>- cee1</div></div><br>
</div>