Tested on Debian 11
-
Create the folder
playit
inside/opt
mkdir /opt/playit
-
Download the latest version of playit to
/opt/playit
cd /opt/playit
wget https://playit.gg/downloads/playit-linux_64-0.4.6
- Rename your playit download to just
playit
and make it executable
mv playit-linux_64-0.4.6 playit
chmod +x playit
-
Perform your normal first run routine and set playit up as you normally would. Once playit is configured and you’ve tested it works exit it.
-
Create the systemd unit file
nano /etc/systemd/system/playit.service
Paste the following:
[Unit]
Description=Playit.gg Agent
After=network.target
[Service]
WorkingDirectory=/opt/playit
ExecStart=/opt/playit/playit
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.target
Press Ctrl + W
then Enter to save and Ctrl + X
to exit
- Run the following commands to start playit and enable it
systemctl start playit
systemctl enable playit
- Optional Grab your claim link if required by running the following:
systemctl status playit
You should be able to copy out the claim link for use from there.