1
0
Fork 0
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:
Pierre de La Morinerie 2022-04-12 08:30:58 +02:00
parent 09a1c3a519
commit 468a6a684d

View file

@ -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