[mythtv-users] Starting mythfrontend with systemd?

Bill Meek keemllib at gmail.com
Thu Oct 5 18:27:37 UTC 2017


On 10/05/2017 01:08 PM, Alec Leamas wrote:
> 
> 
> On 05/10/17 16:31, Darac Marjal wrote:
> 
>> Yes. After mythbackend probably makes more sense than after mysql, as mythbackend probably won't come ready until it has access to the database.
> 
> As long as mythbackend don't have socket activation (or other systemd interfaces implemented) mythbackend might very well be started in the 
> systemd sense without making a socket available.
> 
> --alec

mythbackend --version output should help. Mine includes: using_systemd_notify.
./configure would need to be run with the --disable-systemd_notify switch to
turn it off.

   #ifdef USING_SYSTEMD_NOTIFY
       // Provide systemd ready notification (for type=notify units)
       (void)sd_notify(0, "READY=1");
   #endif

Doesn't that 'count' as "other systemd interfaces implemented"?

-- 
Bill


More information about the mythtv-users mailing list