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
parent
c541960cf3
commit
e39d6c0dbe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue