Kill named running screen with -X only works after reattached
Posted
by oversize
on Server Fault
See other posts from Server Fault
or by oversize
Published on 2010-05-01T10:07:44Z
Indexed on
2010/05/01
10:19 UTC
Read the original article
Hit count: 241
screen
Hello
I am using ubuntu 8.04.4 and would like to start daemons like this:
screen -dmS SESSIONNAME script.sh
Then i want to kill these screens with -X like so
screen -S SESSIONAME -X kill
But, this does not work. Only if i attach and detach that session it gets kill'ed with above command. What am i doing wrong? I would like to not have to attach/deattach the session to kill it since i want to use fabric scripts that start/stop daemons remotly.
- Thank you
© Server Fault or respective owner