Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
For sourcemod and metamod, I don't think there is an autoupdate script available, the best that I know to do is to occasionally lookup both and see if there are newer versions available.
As for my source, here is the developer site I used:
https://developer.valvesoftware.com/wiki/SteamCMD
I do believe there they have an example batch file you can run as well, but I still think the other method they gave (the one I demonstrate) is more efficient for management (in terms of seeing errors, etc.).
Thanks, sorry I couldn't get what you were looking for.
This was really helpful man thanks
Make a service with the start_serve.sh > valheim.service in /etc/systemd/system:
after creation enable the service with: systemctl valheim.service enable
Now we can start/stop the server by : service valheim start/stop
Next we need 4 .sh file for do the routine + a cronJob for check
1 - valheim_getCurrentVersion.sh
2- valheim_applyUpdate.sh
3-valheim_checkUpToDate.sh
4-valheim_startServer.sh (juste own start_server.sh place else where)
last thing to do is to create the cronJob , i use cron.hourly in /etc/cron.hourly
***************
All that will check if upate is propose , stop de serveur update it and restart the serveur
All my config is done in the force intall path /opt/valheim
Scrip a in /opt/
valheim_applyUpdate.sh use a internal fonction of steamcmd so you need to have a txt file name valheim_applyUpdate.sh in /opt/
valheim_applyUpdate.steamCMD