Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(command) adds a command to place the systemd service file in the right location #3125

Open
wants to merge 36 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
9c41b66
Merge branch 'release/v20.6.0' into develop
dgibbs64 Dec 4, 2020
63f30ae
Merge branch 'hotfix/v20.6.1' into develop
dgibbs64 Dec 5, 2020
7b65817
Merge branch 'hotfix/v20.6.2' into develop
dgibbs64 Dec 18, 2020
37d9d8e
release v20.6.2
dgibbs64 Dec 18, 2020
5da8985
feat: adds a command to place the systemd service file in the right l…
legendofmiracles Dec 10, 2020
05e236f
fix(stop) stop will clear tmux text before entering stop command (#3142)
unknowntrojan Dec 25, 2020
dc6b037
fix(update): redo steamcmd update part for new behavoir (#3139)
h3o66 Dec 26, 2020
55b3bbe
fix(bmdm): add missing dependency ncurses libs (#3138)
h3o66 Dec 26, 2020
5d58dcf
fix(minecraft): fix java ram assignment (#3147)
h3o66 Dec 29, 2020
d0ecddf
feat(config): add secrets config to store sensitive settings (#3080)
dgibbs64 Dec 29, 2020
9a85063
feat(newserver): Colony Survival (#3075)
h3o66 Dec 30, 2020
4981393
change the shebang and adds the usual description of the file
legendofmiracles Dec 30, 2020
efa159d
feat(skeleton): New command skeleton (#3152)
dgibbs64 Dec 30, 2020
a075300
feat(check-update): add new command check-update for steamcmd game se…
h3o66 Dec 31, 2020
bf292f8
replace the file with /usr/lib/ with /etc/
legendofmiracles Jan 1, 2021
e9dbda7
fix(steamcmd): retries are not honored if install succeeds (#3155)
h3o66 Jan 2, 2021
ede205a
feat: refactor check_config removing some game specific code (#3160)
dgibbs64 Jan 7, 2021
16e58f1
fix(gmod): update link for wiki page (#3165)
h3o66 Jan 8, 2021
681d878
fix(steamcmd): fix branch switch (#3168)
h3o66 Jan 9, 2021
6e40de6
Merge branch 'develop' into master
dgibbs64 Jan 9, 2021
223b076
feat(newserver): Vintage Story (#3156)
h3o66 Jan 10, 2021
05e4570
feat(newserver): SCP: Secret Laboratory (#3163)
h3o66 Jan 10, 2021
9cc0b3d
fix(rust): server config text change for rcon (#3175)
h3o66 Jan 10, 2021
cee98dc
fix(steamcmd): remove unused parameter (#3170)
h3o66 Jan 11, 2021
7eb060a
uses sudo instead of su and more helpful on errors
legendofmiracles Jan 12, 2021
a86fa1b
Merge branch 'develop' into master
legendofmiracles Jan 12, 2021
778494c
fix(rust): wipe command does not wipe all sav files (#3183)
h3o66 Jan 12, 2021
706bc35
feat(dev): add libc++.so.1 for dependency detection (#3181)
h3o66 Jan 12, 2021
e096d3a
fix(pvr): add new dependency (#3180)
h3o66 Jan 12, 2021
1f821f9
fix(inss): fix config to only use parameter (#3179)
h3o66 Jan 12, 2021
50cd3d8
fix(steamcmd): fix update on start not starting the server (#3169)
h3o66 Jan 14, 2021
892eec8
Merge remote-tracking branch 'legendofmiracles/master' into systemd
dgibbs64 Jan 14, 2021
add3a5c
feat(steamcmd): set platformtype for steamcmd in the default config f…
h3o66 Jan 14, 2021
45f91d2
fix(steamcmd): add dependency SDL 32bit for debian and ubuntu (#3186)
h3o66 Jan 15, 2021
f449154
fix(stop): change csgoserver stop mode (#3171)
h3o66 Jan 16, 2021
59ecfcf
Merge branch 'develop' into master
dgibbs64 Jan 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/acserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="302550"
steamcmdforcewindows="yes"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/ahl2server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ querytype="protocol-valve"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="985050"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/ahlserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="90"
steamcmdforcewindows="no"
appidmod="cstrike"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/arkserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="376030"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/arma3server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="233780"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/avserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="565060"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/bb2server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="475370"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/bbserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="90"
steamcmdforcewindows="no"
appidmod="cstrike"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/bdserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="817300"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="346680"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/boserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="416880"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/bsserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="228780"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/bt1944server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="805140"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/btserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="1026340"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/ccserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="383410"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/cmwserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="220070"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
179 changes: 179 additions & 0 deletions lgsm/config-default/config-lgsm/colserver/_default.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Game Server Settings ####

## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# Edit with care | https://colonysurvival.gamepedia.com/Dedicated_Server#Installation_.28Linux.29
fn_parms(){
parms="-batchmode -nographics +server.config ${servercfgfullpath}"
}

#### LinuxGSM Settings ####

## LinuxGSM Stats
# Send useful stats to LinuxGSM developers.
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
# (on|off)
stats="off"

## Notification Alerts
# (on|off)

# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""

# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"

# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
discordalert="off"
discordwebhook="webhook"

# Email Alerts | https://docs.linuxgsm.com/alerts/email
emailalert="off"
email="[email protected]"
emailfrom=""

# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"

# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
mailgunalert="off"
mailgunapiregion="us"
mailguntoken="accesstoken"
mailgundomain="example.com"
mailgunemailfrom="[email protected]"
mailgunemail="[email protected]"

# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
channeltag=""

# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
pushoveralert="off"
pushovertoken="accesstoken"
pushoveruserkey="userkey"

# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
rocketchatalert="off"
rocketchatwebhook="webhook"
rocketchattoken=""

# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
slackalert="off"
slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
updateonstart="off"

## Backup | https://docs.linuxgsm.com/commands/backup
maxbackups="4"
maxbackupdays="30"
stoponbackup="on"

## Logging | https://docs.linuxgsm.com/features/logging
consolelogging="on"
logdays="7"

## Monitor | https://docs.linuxgsm.com/commands/monitor
# Query delay time
querydelay="1"

## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"

#### Advanced Settings ####

## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"

## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="748090"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false"

## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
# 4: quit 120s
# 5: stop
# 6: q
# 7: exit
# 8: 7 Days to Die
# 9: GoldSrc
# 10: Avorion
# 11: end
stopmode="2"

## Query mode
# 1: session only
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="2"
querytype="protocol-valve"

## Console type
consoleverbose="no"
consoleinteract="no"

## Game Server Details
# Do not edit
gamename="Colony Survival"
engine="unity3d"
glibc="2.15"

#### Directories ####
# Edit with care

## Game Server Directories
systemdir="${serverfiles}"
executabledir="${serverfiles}"
executable="./colonyserver.x86_64"
servercfgdir="${systemdir}/gamedata/settings"
servercfg="${selfname}.json"
servercfgdefault="colserver.json"
servercfgfullpath="${servercfgdir}/${servercfg}"

## Backup Directory
backupdir="${lgsmdir}/backup"

## Logging Directories
logdir="${rootdir}/log"
gamelogdir="${serverfiles}/gamedata/logs/server/"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${selfname}-game.log"
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
consolelog="${consolelogdir}/${selfname}-console.log"
alertlog="${lgsmlogdir}/${selfname}-alert.log"
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"

## Logs Naming
gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/csczserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="90"
steamcmdforcewindows="no"
appidmod="czero"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
Expand Down
3 changes: 2 additions & 1 deletion lgsm/config-default/config-lgsm/csgoserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="740"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand All @@ -157,7 +158,7 @@ steammaster="true"
# 9: GoldSrc
# 10: Avorion
# 11: end
stopmode="3"
stopmode="9"

## Query mode
# 1: session only
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/csserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="90"
steamcmdforcewindows="no"
appidmod="cstrike"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/cssserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="232330"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/dabserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="317800"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/dmcserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="90"
steamcmdforcewindows="no"
appidmod="dmc"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/dodserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="90"
steamcmdforcewindows="no"
appidmod="dod"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/dodsserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="232290"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/doiserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="462310"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/dstserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="343050"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
Expand Down
Loading