Project

General

Profile

Autostarting TVHeadend

Added by dan jericho about 12 years ago

Hi,

Firstly, thanks for the recent updates. Things are running really smoothly on my openmediavault box.

One question tho. Im using this latest version on git, and have built and installed. However when I restart my server, I have to ssh in at start TVheadend.

Is there any way to auto start tvheadend when the server boots?

Thanks


Replies (3)

RE: Autostarting TVHeadend - Added by Adam Sutton about 12 years ago

That's really related to how you've packaged TVH and the system you're using etc... not specifically something to do with TVH.

For example if you were using the official debs on Ubuntu then it installs an upstart (the init system used by Ubuntu) script that will auto start TVH on boot. There is also an init script that can be used for sysvinit based systems, and then you just need to ensure the script is installed into the relevant run levels etc...

Adam

RE: Autostarting TVHeadend - Added by dan jericho about 12 years ago

Thanks Adam.

Is it enough just to run ./build.linux/tvheadend form the init script? Apologies if these questions are really basic.

RE: Autostarting TVHeadend - Added by Adam Sutton about 12 years ago

You can do that, but you might be better to package (or at least install into a system location). I am not one for advocating use of "make install" outside of the packaging system, but if you have no alternative that would be the way to go.

Just looking at the omv site I think it actually uses debs, so you might simply be able to compile a deb package for use on it, not sure.

Adam

    (1-3/3)