瀏覽代碼

Document a necessety of increasing limits for systemd unit

It seems that default DynamicUser limits are very low. We have to
increase them anyway.
tags/v2.2.3^2^2
9seconds 4 月之前
父節點
當前提交
049bee3d84
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      README.md

+ 1
- 0
README.md 查看文件

@@ -380,6 +380,7 @@ ExecStart=/usr/local/bin/mtg run /etc/mtg.toml
380 380
 Restart=always
381 381
 RestartSec=3
382 382
 DynamicUser=true
383
+LimitNOFILE=65536
383 384
 AmbientCapabilities=CAP_NET_BIND_SERVICE
384 385
 
385 386
 [Install]

Loading…
取消
儲存