From 009fc22df2f7fa21aae60077a936a5c634bd77b0 Mon Sep 17 00:00:00 2001 From: NexusNull Date: Tue, 7 Nov 2023 19:43:09 +0100 Subject: [PATCH] update service file --- cicd/setup/roles/services/templates/game_server.service.j2 | 2 +- cicd/setup/roles/services/templates/master_server.service.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cicd/setup/roles/services/templates/game_server.service.j2 b/cicd/setup/roles/services/templates/game_server.service.j2 index 8b5bd724..95d7872d 100644 --- a/cicd/setup/roles/services/templates/game_server.service.j2 +++ b/cicd/setup/roles/services/templates/game_server.service.j2 @@ -2,7 +2,7 @@ Description=Adventureland Game Server [Service] -ExecStart=/usr/bin/node ./adventureland/node/server.js {{ region }} {{ name }} 2083 +ExecStart=/usr/bin/node ./server.js {{ region }} {{ name }} 2083 WorkingDirectory=/opt/adventureland/node User=adventureland Group=adventureland diff --git a/cicd/setup/roles/services/templates/master_server.service.j2 b/cicd/setup/roles/services/templates/master_server.service.j2 index 853763bf..f69fec39 100644 --- a/cicd/setup/roles/services/templates/master_server.service.j2 +++ b/cicd/setup/roles/services/templates/master_server.service.j2 @@ -8,7 +8,7 @@ ExecStart=/usr/bin/python2.7 ./appengine/dev_appserver.py \ --datastore_path=./storage/db.rdbms \ --host=0.0.0.0 --port=80 ./adventureland \ --require_indexes --skip_sdk_update_check -WorkingDirectory=/opt/adventureland +WorkingDirectory=/opt/ User=adventureland Group=adventureland