Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-27 Thread Martin Dummer
Am 27.12.22 um 21:49 schrieb Marko Mäkelä: First, I removed the custom /etc/fstab entry. Everything will be controlled by systemd as follows: On systemd-systems, each line  in /etc/fstab is automatically converted by a binary "systemd-fstab-generator" into "xxx.mount" units. So what you do

Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-27 Thread Marko Mäkelä
Tue, Dec 27, 2022 at 12:04:00PM +0200, Marko Mäkelä wrote: I might configure some more, such as: * Write some udev rule so that when the USB storage is unplugged and replugged, the file system will be auto-mounted and VDR service will be started. * Restore /etc/systemd/logind.conf to

Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-27 Thread Marko Mäkelä
Mon, Dec 26, 2022 at 01:34:48AM +0100, Udo Richter wrote: 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. I see. That could certainly