If you want to run Fosscord as a systemd service, simply put this in
[Unit] Description=<your description> [Service] User=<your user> WorkingDirectory=<fosscord bundle directory> ExecStart=npm run start:bundle Restart=always [Install] WantedBy=multi-user.target
sudo systemctl start fosscord from your terminal.
If you want to automatically run Fosscord on boot, execute
sudo systemctl enable fosscord