- download archive
unzip [archive].zip -d /opt/foundryvtt
mkdir ~/foundrydata
(optional: if run as systen service)dnf install nodejs
/etc/systemd/system/foundryvtt.service
[Unit]
Description=Foundry VTT service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=[username]
ExecStart=/usr/bin/env node /opt/foundryvtt/resources/app/main.js --dataPath=/home/[username]/foundrydata
[Install]
WantedBy=multi-user.target
$ systemctl enable foundryvtt
$ systemctl start foundryvtt
$ loginctl enable-linger [username]
~/.config/systemd/user/foundryvtt.service
[Unit]
Description=Foundry VTT service
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart=/usr/bin/env node /opt/foundryvtt/resources/app/main.js --dataPath=/home/[username]/.local/share/FoundryVTT
$ systemctl --user start foundryvtt
$ systemctl --user status foundryvtt
Note: for the dekstop application the path is "/home/[username]/.local/share/FoundryVTT"
You can now start the Foundry VTT setup and registration by navigating to the server as http://[ip]:30000.
Note: it is suggested to run this behind a proxy, like Apache, nginx or caddy, so you do not expose the node service directly to the Internet. An alternative that I use is Tailscale (or Zerotier) to only share the server on a shared virtual network.