Fix socket permissions
This commit is contained in:
parent
b9a2425d99
commit
b6957198c1
1 changed files with 3 additions and 2 deletions
|
|
@ -75,8 +75,9 @@ in
|
||||||
description = "Strojnadzor HTTP socket.";
|
description = "Strojnadzor HTTP socket.";
|
||||||
wantedBy = [ "sockets.target" ];
|
wantedBy = [ "sockets.target" ];
|
||||||
socketConfig = {
|
socketConfig = {
|
||||||
User = "nginx";
|
SocketUser = "nginx";
|
||||||
Group = "nginx";
|
SocketGroup = "nginx";
|
||||||
|
SocketMode = 0660;
|
||||||
ListenStream = "${cfg.socketPath}";
|
ListenStream = "${cfg.socketPath}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue