From ad8ebcc03121017ee30d33a7a7b8a8bf31dd6c68 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sun, 19 Sep 2021 17:38:37 +0200 Subject: [PATCH] systemd unit: set LimitNOFILE to 8192 --- init/sftpgo.service | 1 + 1 file changed, 1 insertion(+) diff --git a/init/sftpgo.service b/init/sftpgo.service index a712d315..f5bbfe15 100644 --- a/init/sftpgo.service +++ b/init/sftpgo.service @@ -12,6 +12,7 @@ Environment=SFTPGO_LOG_FILE_PATH= EnvironmentFile=-/etc/sftpgo/sftpgo.env ExecStart=/usr/bin/sftpgo serve ExecReload=/bin/kill -s HUP $MAINPID +LimitNOFILE=8192 KillMode=mixed PrivateTmp=true Restart=always