Add memory limits to systemd service for io_uring

This commit is contained in:
Martchus 2022-02-27 00:07:49 +01:00
parent e5f0a36730
commit b6901afcc2
1 changed files with 4 additions and 0 deletions

View File

@ -8,5 +8,9 @@ ExecStart=@SYSTEMD_SERVICE_EXEC@
KillSignal=SIGQUIT
Restart=on-failure
# for io_uring
LimitMEMLOCK=67108864
LimitMEMLOCKSoft=67108864
[Install]
WantedBy=multi-user.target