Merge pull request #4475 from thaJeztah/minor_systemd_updates

systemd: use LimitNOFILE=infinity instead of hard-coded max value
This commit is contained in:
Wei Fu
2020-08-18 00:15:14 +08:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ RestartSec=5
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNPROC=infinity
LimitCORE=infinity
LimitNOFILE=1048576
LimitNOFILE=infinity
# Comment TasksMax if your systemd version does not supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity