From 4c5e574028b82eeef193dbea2518f84ca5e83a6c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Nov 2022 02:45:51 +0000 Subject: [PATCH] Fix no restart on linux build --- build_linux_server_release.sh | 2 +- linux_server_install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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