Update autocat3.service

This allows the system file limit to apply to the service, rather than the per-user or shell limit.

It should fix occasional "too many open files" errors.
master
Greg Newby 2021-04-22 14:20:35 -07:00 committed by GitHub
parent c541960cf3
commit e39d6c0dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ RuntimeDirectory=autocat
WorkingDirectory=/var/lib/autocat/autocat3
ExecStartPre=-/usr/bin/mkdir -p /var/run/autocat
ExecStart=/usr/local/bin/pipenv run python CherryPyApp.py
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target