diff --git a/build_linux_server_release.sh b/build_linux_server_release.sh index a575059..7ca5238 100755 --- a/build_linux_server_release.sh +++ b/build_linux_server_release.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -gcc -o flight_server -O2 -Wall -Ithirdparty -Ithirdparty/enet/include -Ithirdparty/minilzo -Ithirdparty/Chipmunk2D/include -Ithirdparty/Chipmunk2D/include/chipmunk server_main.c server.c debugdraw.c gamestate.c sokol_impl.c thirdparty/minilzo/minilzo.c thirdparty/enet/*.c thirdparty/Chipmunk2D/src/*.c -lm -lpthread +gcc -o flight_server -Wall -O2 -Ithirdparty -Ithirdparty/enet/include -Ithirdparty/minilzo -Ithirdparty/Chipmunk2D/include -Ithirdparty/Chipmunk2D/include/chipmunk server_main.c server.c debugdraw.c gamestate.c sokol_impl.c thirdparty/minilzo/minilzo.c thirdparty/enet/*.c thirdparty/Chipmunk2D/src/*.c -lm -lpthread diff --git a/linux_server_install.sh b/linux_server_install.sh index 0c6e7c8..9661d71 100755 --- a/linux_server_install.sh +++ b/linux_server_install.sh @@ -4,3 +4,4 @@ cp flight.service /etc/systemd/system/ systemctl enable flight systemctl start flight +systemctl restart flight