Hi,
I’m not sure, but can’t systemd-tmpfiles get this sorted for you ?
See
https://www.freedesktop.org/software/systemd/man/systemd-tmpfiles-setup.service.html
Good luck :-)
--
François
> Le 22 janv. 2020 à 18:59, Marcel Partap a écrit :
>
> Salut,
> for our live debian USB stick distro f
You can't use templates with .mount units because .mount units need to be
named exactly after their mount point.
That's probably not explicitly documented, but might be a good idea to add.
For your use-case, I would probably use a generator (man systemd.generator)
to solve that...
It might not sol
Salut,
for our live debian USB stick distro for students (
https://github.com/fsfw-dresden/usb-live-linux ), we want to minimize on flash
writes by putting several paths into a tmpfs overlay. So there is a
pre-overlay@.service with
> [Unit]
> Description=Prepare writable overlay on %f
> Default