Merge pull request #18 from gutenbergtools/Updated-limit-of-open-files,-to-try-to-address-periodic-"too-many-open-files"-problem

Update autocat3.service
diagnostics
Greg Newby 2019-07-08 09:45:07 -04:00 committed by GitHub
commit 415fb51401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -5,10 +5,11 @@ After=network.target
[Service]
User=autocat
Type=simple
LimitNOFILE=4096
RuntimeDirectory=autocat
WorkingDirectory=/var/lib/autocat/autocat3
ExecStartPre=-/usr/bin/mkdir /var/run/autocat
ExecStart=/var/lib/autocat/.local/bin/pipenv run python CherryPyApp.py
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target