[Python-modules-team] Bug#902413: why not remove tmpfiles altogether?

Craig Small csmall at debian.org
Wed Jan 15 23:43:54 GMT 2020


Hi,
  I'm not sure why there is a tmpfiles entry at all. Admittedly I'm not a
systemd expert but wouldn't putting

RuntimeDirectory=fail2ban

in the unit file do what is needed?
This creates /run/fail2ban on dameon start and removes it on daemon stop.
See the sandboxing section of systemd.exec(5)

 - Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200116/ef19f00f/attachment-0001.html>


More information about the Python-modules-team mailing list