remove init step

This commit is contained in:
Jonathan Baecker 2024-10-06 20:05:12 +02:00
parent 216fd97df9
commit b0f03f52f9
2 changed files with 1 additions and 4 deletions

4
debian/postinst vendored
View File

@ -17,10 +17,6 @@ if [ ! -d "/usr/share/ffplayout/db" ]; then
mkdir -p "/var/lib/ffplayout/playlists"
mkdir -p "/var/lib/ffplayout/tv-media"
IP=$(hostname -I | cut -d ' ' -f1)
/usr/bin/ffplayout -i -d "${IP}:8787"
chown -R ${sysUser}: "/usr/share/ffplayout"
chown -R ${sysUser}: "/var/lib/ffplayout"
fi

View File

@ -26,3 +26,4 @@ ffplayout provides ***.deb** and ***.rpm** packages, which makes it easier to in
- Copy **assets/ffplayout.1.gz** to `/usr/share/man/man1/`
- Copy the **public** folder to `/usr/share/ffplayout/`
- Activate the service and run it: `systemctl enable --now ffplayout`
- Initialize the defaults and add a global admin user: `sudo -u ffpu ffplayout -i`