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,6 +5,7 @@ After=network.target
[Service] [Service]
User=autocat User=autocat
Type=simple Type=simple
LimitNOFILE=4096
RuntimeDirectory=autocat RuntimeDirectory=autocat
WorkingDirectory=/var/lib/autocat/autocat3 WorkingDirectory=/var/lib/autocat/autocat3
ExecStartPre=-/usr/bin/mkdir /var/run/autocat ExecStartPre=-/usr/bin/mkdir /var/run/autocat