Command line options:
http://hostname:9981/
By default everyone (also from remote hosts)is allowed full access to all features / settings in the web user interface. If this is the first time you setup Tvheadend you are most encouraged to enter the web user interface, selected the 'Configuration' + 'Access Control' tab and make reasonable changes. Futher help / documentationcan be obtained inside the web interface.
If the (-s) argument is given, that path is always used.
Otherwise, tvheadend will try to store settings in /var/lib/hts/tvheadend. If this is not possible (due to access permission restriction) it will store it in the current user home directory under .hts/tvheadend.
If daemonizing, tvheadend will writes its running pid in /var/run/tvheadend.pid
If Tvheadend is started without the '-f' argument it will not daemonize nor change its primary userid/groupid. Rather it will run with the permissions granted to the user executing the binary. If that's the case you must make sure the current user is granted with access to the video devices.