remove init step
This commit is contained in:
parent
216fd97df9
commit
b0f03f52f9
4
debian/postinst
vendored
4
debian/postinst
vendored
@ -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
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user