beta.blog

Linux (Ubuntu)

Ubuntu: Start screen in detached mode

by on Aug.29, 2010, under Linux (Ubuntu)

Today I coded a utility to restart my UT3 server whenever it crashes. Therefore I designed my code to monitor the ut3-bin once a minute, and whenever it goes offline, the following line is being executed:

screen -d -m ./startserver.sh

It’s very useful for me, as my application continues monitoring the server after running it in background, instead of printing the output to the terminal. 😉

1 Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!