This is an old revision of the document!
Based on Clear Foundation's Howto
zypper up
zypper install java-21-openjdk
(newest release at time of writing this page)
zypper install ffmpeg
For ffmpeg on openSuse 15.6
zypper install ffmpeg
wget http://download.serviio.org/releases/serviio-1.2.1-linux.tar.gz
tar -C /opt -zxvf serviio-1.2.1-linux.tar.gz mv /opt/serviio-1.2.1 /opt/serviio
useradd -d /opt/serviio -r serviio chown -R serviio:serviio /opt/serviio
Create the systemd script /usr/lib/systemd/system/serviio.service with the following code: (If content library is available via nfs or cifs, add remote-fs.target in After=)
[Unit] Description=Start the serviio DLNA server in headless mode After=local-fs.target network.target [Service] Type=simple User=root ExecStart=/opt/serviio/bin/serviio.sh ExecStop=/opt/serviio/bin/serviio.sh -stop Restart=on-abort [Install] WantedBy=multi-user.target
Reload systemd config to ensure changes are taken into account immediately
systemctl --system daemon-reload
Enable service
systemctl enable serviio.service
systemctl start serviio.service