[mythtv-users] systemctl

R. G. Newbury newbury at mandamus.org
Tue Jul 10 15:37:37 UTC 2012


On 07/10/2012 09:37 AM, Richard Shaw wrote:
> On Tue, Jul 10, 2012 at 8:29 AM, James Linder<jam at tigger.ws>  wrote:
>> G'day all
>>
>> I'm going crazy trying to start mythbackend using systemctrl
>>
>> If anybody can help --- pretty please ...
>>
>> Got the (fedora) systemctl file from the wiki: http://www.mythtv.org/wiki/Systemd_mythbackend_Configuration
>
> Whoops!!! Looks like there's an error in the wiki version!
>
> Just so anyone having this issue hopefully finds this thread I'll
> explain it in full again... (in other words, this is not directed at
> you, James)
>
> There are many options for how to run mythbackend with SystemD  but
> one decision you
>
> *MUST*
> *MUST*
> *MUST*
>
> make is if you're going to run:
>
>   Type=simple
>
> or
>
> Type=forking
>
> If you use Type=simple (which is my recommendation) then you *CANNOT*
> use the "--daemon" option because SystemD is not expecting the daemon
> to fork!!!
>
> If you use Type=forking then you *MUST* use the "--daemon" option as
> well as specify a PID file, "--pidfile" in ExecStart *AND* you must
> set the PIDFile= systemd option so it knows where to find the PID
> file.
>
> Someone please fix the wiki!

Fixed. Minor formatting errors corrected and explanation of the required 
changes between simple and forking, added, plus additional information 
about permissions problem correction.

Geoff






More information about the mythtv-users mailing list