在Ubuntu上设置Jellyfin开机自启,可参考以下步骤:
sudo nano /etc/systemd/system/jellyfin.service创建服务文件,并添加相关内容,如[Unit]、[Service]、[Install]等部分,可根据实际情况调整环境变量。sudo systemctl daemon-reload。sudo systemctl enable jellyfin和sudo systemctl start jellyfin。另外,也可通过Snap包安装Jellyfin,安装后同样使用sudo systemctl enable jellyfin来设置开机自启。