Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/attic/gitlab-ci/linux/run-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'attic/gitlab-ci/linux/run-server.sh')
-rw-r--r--attic/gitlab-ci/linux/run-server.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/attic/gitlab-ci/linux/run-server.sh b/attic/gitlab-ci/linux/run-server.sh
new file mode 100644
index 0000000..79b02fd
--- /dev/null
+++ b/attic/gitlab-ci/linux/run-server.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+cd "`dirname \"$0\"`"
+
+terms="
+x-terminal-emulator
+konsole
+gnome-terminal.wrapper
+xfce4-terminal.wrapper
+koi8rxterm
+lxterm
+uxterm
+xterm"
+
+for term in $terms; do
+ $term -e ./starbound_server $@
+ if [ $? -eq 0 ]; then
+ exit 0;
+ fi
+done
+
+exit 1