I've found this link, showing how to change the ulimits on systemd.
/etc/systemd/system/<servicename>.d/override.conf
[Service]
LimitNOFILE=49152
I found a website suggesting to change the ulimits for systemd in these files:
/etc/systemd/system.conf
/etc/systemd/user.conf
[Manager]
DefaultLimitNOFILE=49152
- What's the difference between this two methods?
- What's best practive?
Thanks for input.