systemd unit: set LimitNOFILE to 8192

This commit is contained in:
Nicola Murino 2021-09-19 17:38:37 +02:00
parent c69c27f586
commit ad8ebcc031
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB

View file

@ -12,6 +12,7 @@ Environment=SFTPGO_LOG_FILE_PATH=
EnvironmentFile=-/etc/sftpgo/sftpgo.env EnvironmentFile=-/etc/sftpgo/sftpgo.env
ExecStart=/usr/bin/sftpgo serve ExecStart=/usr/bin/sftpgo serve
ExecReload=/bin/kill -s HUP $MAINPID ExecReload=/bin/kill -s HUP $MAINPID
LimitNOFILE=8192
KillMode=mixed KillMode=mixed
PrivateTmp=true PrivateTmp=true
Restart=always Restart=always