1. I use screen for running service processes, so i start them detached (-d -m)
2. I want a screen to stay around even after service scrpit has
exited, so now i do
screen -d -m -S instance_name bash -c "daemon.sh; bash -i" &
this works as desired
3. I tried to interrupt such script process with Ctrl+C while attached
to its screen. Surprisingly, i haven't got bash prompt after that, but
screen is terminated. What can i do to get prompt again, to have
chance to restart the script? This seem natural use-case for screen to
me, i am surprised not to find any command line flags for it.
Any help, advice or criticism are appreciated.

-- 
Andrey Utkin

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to