<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Well I am no guru, but on mine the path to the tty is given, ie.<div><br></div><div>exec /sbin/agetty <font class="Apple-style-span" color="#ff0000">/dev/</font>tty1 38400</div><div><br></div><div>Does this make any difference for you?</div><div><br></div><div>cheers</div><div>grail<br><br>> From: sharma34@illinois.edu<br>> Date: Mon, 16 May 2011 22:18:18 -0500<br>> Subject: respawn not working ?<br>> To: upstart-devel@lists.ubuntu.com<br>> <br>> So i'm using the default tty scripts i think, but with agetty instead<br>> of tty, but my terminals dont respawn on exit even though i have<br>> specified exit in the upstart job.<br>> the upstart job is basically this:<br>> <br>> start on mountall-done<br>> stop on shutdown<br>> <br>> task<br>> <br>> respawn<br>> exec /sbin/agetty tty1 38400<br>> <br>> but when i exit from tty1 it doesn't respawn. here's verbose init<br>> output when i exit the tty:<br>> <br>> init: tty1 main process (1016) exited normally<br>> init: tty1 goal changed from start to stop<br>> init: tty1 state changed from running to stopping<br>> init: Handling stopping event<br>> init: tty1 state changed from stopping to killed<br>> init: tty1 state changed from killed to post-stop<br>> init: tty1 state changed from post-stop to waiting<br>> init: Handling stopped event<br>> <br>> is this whats supposed to happen ? is agetty returning a failure maybe<br>> ? any ideas why agetty isnt respawning ?<br>> <br>> Thanks<br>> Karshan<br>> <br>> -- <br>> upstart-devel mailing list<br>> upstart-devel@lists.ubuntu.com<br>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel<br></div>                                        </body>
</html>