Re: Running VDR from systemd on Raspberry Pi OS
Udo Richter <[email protected]> Mon, 26 Dec 2022 01:34:48 +0100
| Newsgroups | gmane.linux.vdr |
|---|---|
| Message-ID | <[email protected]> |
On 25.12.22 20:47, Marko Mäkelä wrote: >> However, I'd say the most clean way is to include the unmount and >> udiskctrl into the vdr shutdown itself, so these commands run within >> the vdr service after the vdr process stops. That way you just have to >> fire the service stop and are done. > > Do you mean implementing that as part of VDR plugin? No, just replace the call to vdr in the service with a call to a runvdr script (any of the ones floating around, or just a three-liner), and in that script, after vdr ends, do whatever cleanup you need to do. Cheers, Udo _______________________________________________ vdr mailing list [email protected] https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr