Name: Anonymous 2012-12-02 15:40
I am using screen like any sane person to run a few processes on a server that I want to run in the background but still have access to.
Now here is my question.
I would like to be able to create a script that automates the creation of named screen processes, but when I run the script again it kills the previous screen by that name and starts a new instance of it. How would I go about doing this? What specific flags/options should I be using?
Other info:
the server is running ubuntu 12.04 minimal install
only have SSH access due to it being located in Germany.
Now here is my question.
I would like to be able to create a script that automates the creation of named screen processes, but when I run the script again it kills the previous screen by that name and starts a new instance of it. How would I go about doing this? What specific flags/options should I be using?
Other info:
the server is running ubuntu 12.04 minimal install
only have SSH access due to it being located in Germany.