Skip to content

Instantly share code, notes, and snippets.

View eightseventhreethree's full-sized avatar
👾
Focusing

Rush eightseventhreethree

👾
Focusing
View GitHub Profile
@blackjack4494
blackjack4494 / Readme.md
Last active July 27, 2024 01:12
Palworld Dedicated Server (Linux) limit ram usage & run as systemd service + auto restart

To limit ram usage:

systemd-run --scope -p MemoryMax=4G ./PalServer.sh

Leave at least 1G available under 10G. If you have more than 10G leave 10% for OS.
This assumes you are running nothing else on the server but Palworld.

==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or other units.