mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
conf: update systemd conf to fix preview links
The previous systemd hardening prevented the Go networking library from resolving a hostname to an IP. Adding the correct permission fixes the hostname resolution, which fixes the retrieval of link previews by Mattermost's server. Fix #340
This commit is contained in:
parent
09a1c3a519
commit
468a6a684d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ LimitNOFILE=49152
|
|||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
||||
RestrictNamespaces=yes
|
||||
RestrictRealtime=yes
|
||||
DevicePolicy=closed
|
||||
|
|
Loading…
Reference in a new issue