aboutsummaryrefslogtreecommitdiff
path: root/run_server.sh
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-08-22 15:23:11 +0200
committerfschildt <florian.schildt@protonmail.com>2025-08-22 15:23:11 +0200
commit2050c0e0576f05156f192aa4caf48834d2f28b14 (patch)
treeee58bd35b0df0a1bacfbc9700ed99ce80c99294e /run_server.sh
first commitHEADmaster
Diffstat (limited to 'run_server.sh')
-rwxr-xr-xrun_server.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/run_server.sh b/run_server.sh
new file mode 100755
index 0000000..a9c5eba
--- /dev/null
+++ b/run_server.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cd ./data/fscord_server
+if [ "$1" = "debug" ]; then
+ gdb --args ./fscord_server -port 1905
+else
+ ./fscord_server -port 1905
+fi
+cd ../..