Skip to content
Snippets Groups Projects
Commit 2155516e authored by ale's avatar ale
Browse files

Increase file limit on systemd unit

parent 4c5be8db
No related branches found
No related tags found
No related merge requests found
Pipeline #38928 passed
......@@ -150,7 +150,6 @@ class DavAuthHandler(socketserver.StreamRequestHandler):
accounts[realm] = {'dn': r[0],
'ftpname': name,
'home': r[1]['homeDirectory'][0].decode('utf-8')}
logging.info('account list for uid=%d: %s', uid, accounts)
return accounts
......
......@@ -9,6 +9,7 @@ EnvironmentFile=-/etc/default/ai-webdav-auth-server
ExecStart=/usr/bin/ai-webdav-auth-server $ARGS
Restart=always
RuntimeDirectory=authdav
LimitNOFILE=65535
# Hardening
NoNewPrivileges=yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment