Checking the systemd-tempfiles documentation (https://freedesktop.org/software/systemd/man/tmpfiles.d.html#Description) makes me think we could use RuntimeDirectory to fix this issue:
System daemons frequently require private runtime directories below /run to store communication sockets and similar. For these, is is better to use RuntimeDirectory= in their unit files (see systemd.exec(5) for details), if the flexibility provided by tmpfiles.d is not required. The advantages are that the configuration required by the unit is centralized in one place, and that the lifetime of the directory is tied to the lifetime of the service itself. ** Changed in: nagios-nrpe (Ubuntu) Status: New => Triaged ** Changed in: nagios-nrpe (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871194 Title: nagios-nrpe-server fails to launch after reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/+bug/1871194/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs