Fix socket permissions

This commit is contained in:
Andrey Golovizin 2020-03-10 16:51:16 +01:00
parent b9a2425d99
commit b6957198c1

View file

@ -75,8 +75,9 @@ in
description = "Strojnadzor HTTP socket.";
wantedBy = [ "sockets.target" ];
socketConfig = {
User = "nginx";
Group = "nginx";
SocketUser = "nginx";
SocketGroup = "nginx";
SocketMode = 0660;
ListenStream = "${cfg.socketPath}";
};
};