Commit 1c644320 authored by Gary Guo's avatar Gary Guo
Browse files

nixos/clamav: use `LocalSocketMode` to set systemd socket mode

parent ab9fb88c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -266,6 +266,8 @@ in
      socketConfig = {
        SocketUser = clamavUser;
        SocketGroup = clamavGroup;
        # LocalSocketMode setting in clamd.conf is not prefixed with octal 0, add it here.
        SocketMode = "0${cfg.daemon.settings.LocalSocketMode or "666"}";
      };
    };