From b0f03f52f916c9c7a9983a3215fe3ff192461a16 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Sun, 6 Oct 2024 20:05:12 +0200 Subject: [PATCH] remove init step --- debian/postinst | 4 ---- docs/install.md | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/debian/postinst b/debian/postinst index 9fc8005e..3e1028cd 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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 diff --git a/docs/install.md b/docs/install.md index c64ea79f..43be7747 100644 --- a/docs/install.md +++ b/docs/install.md @@ -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`