Also found this, that also works. I have literally just tested it and restarted my machine.
First I did - sudo nano /etc/systemd/system/jellyfin.service
Pasted this into the new file - Obviously putting in my user name
[Unit]
Description=Jellyfin Media Server
After=network.target
[Service]
ExecStart=/usr/bin/flatpak run org.jellyfin.JellyfinServer
Restart=always
User=your_username
[Install]
WantedBy=multi-user.target
Then - sudo systemctl daemon-reload
Then - sudo systemctl enable jellyfin.service
Then - sudo systemctl start jellyfin.service
Could sudo systemctl –user start jellyfin.service be used instead of using the two start and enable lines, so basically typing one line instead of two?
I am assuming that the file you suggested to copy across is basically what I pasted into the file that I created… In fact, I will go and have a look and see if I can read the file.
As you have things in /etc/systemd/… you don’t use --user
As said above you can abbreviate the start and enable command into one command by user --enable . But this is a one time action anyway so it is only a matter of taste which way to go.
start alone just starts it. enable tells to (re-)start it according to what is said in the service file
If you want to discuss this I would recommend to open a new thread. Is always better if in future people will be searching for something
But nevertheless one remark: The router must open the incoming port and then the router must forward the incoming port to the local destination. Something like 192…:8096