From 6a596441eb91215898542bce4aadabfe396a3875 Mon Sep 17 00:00:00 2001 From: Birger Schacht <1143280+b1rger@users.noreply.github.com> Date: Mon, 18 Jan 2021 15:00:47 +0000 Subject: [PATCH] Write PIDFile to /run instead of /var/run According to https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s13.html regarding /var/run: This directory was once intended for system information data describing the system since it was booted. These functions have been moved to /run; this directory exists to ensure compatibility with systems and software using an older version of this specification. --- usbguard.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbguard.service.in b/usbguard.service.in index 0d7e193c..2ec8c633 100644 --- a/usbguard.service.in +++ b/usbguard.service.in @@ -12,7 +12,7 @@ IPAddressDeny=any LockPersonality=yes MemoryDenyWriteExecute=yes NoNewPrivileges=yes -PIDFile=/var/run/usbguard.pid +PIDFile=/run/usbguard.pid PrivateDevices=yes PrivateTmp=yes ProtectControlGroups=yes