OpenArena: script to deploy new VM to dedicated servers

This commit is contained in:
Sergii Pylypenko
2021-05-30 23:16:21 +03:00
parent 22ea75c91f
commit b325c826e4
2 changed files with 15 additions and 4 deletions

View File

@@ -7,10 +7,10 @@ AppName="OpenArena"
AppFullName=ws.openarena.sdl
# Application version code (integer)
AppVersionCode=08839
AppVersionCode=08840
# Application user-visible version name (string)
AppVersionName="0.8.8.39"
AppVersionName="0.8.8.40"
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
# If you'll start Description with '!' symbol it will be enabled by default, '!!' will also hide the entry from the menu, so it cannot be disabled
@@ -23,10 +23,10 @@ AppVersionName="0.8.8.39"
AppDataDownloadUrl="!Game data|mnt:main.8839|obb:main.8828|https://github.com/pelya/openarena-engine/releases/download/0.8.8.39/data-0.8.8.zip|https://sourceforge.net/projects/libsdl-android/files/OpenArena/data-0.8.8.28.zip/download^!Game logic|:baseoa/pak7-android.pk3:pak7-android.pk3"
# Reset SDL config when updating application to the new version (y) / (n)
ResetSdlConfigForThisVersion=n
ResetSdlConfigForThisVersion=y
# Delete application data files when upgrading (specify file/dir paths separated by spaces)
DeleteFilesOnUpgrade="libsdl-DownloadFinished-1.flag libsdl-DownloadFinished-0.flag baseoa"
DeleteFilesOnUpgrade="libsdl-DownloadFinished-1.flag libsdl-DownloadFinished-0.flag"
# Here you may type readme text, which will be shown during startup. Format is:
# Text in English, use \\\\n to separate lines (that's four backslashes)^de:Text in Deutsch^ru:Text in Russian^button:Button that will open some URL:http://url-to-open/

View File

@@ -0,0 +1,11 @@
#!/bin/sh
scp AndroidData/pak7-android.pk3 user@10.0.0.91:oa/ded1/baseoa
scp AndroidData/pak7-android.pk3 user@10.0.0.92:oa/ded1/baseoa
scp -P 11721 AndroidData/pak7-android.pk3 pelya@45.61.147.135:OpenArena-dedicated-server/baseoa
ssh -p 11721 root@45.61.147.135 shutdown -r now
scp -P 11221 AndroidData/pak7-android.pk3 pelya@185.164.136.111:OpenArena-dedicated-server/baseoa
ssh -p 11221 root@185.164.136.111 shutdown -r now