Increase file limit in systemd services

This commit is contained in:
Marcin Jachymiak 2020-05-19 16:10:00 -04:00
parent f4c25cc820
commit 3820a16a9f
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ ExecStart=/home/user/go/bin/siad --api-addr "localhost:9970" --rpc-addr ":9971"
ExecStop=/home/user/go/bin/siac --addr "localhost:9970" stop
Restart=on-failure
SyslogIdentifier=siad-upload
LimitNOFILE=10000
[Install]
WantedBy=default.target

View File

@ -9,6 +9,7 @@ ExecStart=/home/user/go/bin/siad
ExecStop=/home/user/go/bin/siac stop
Restart=on-failure
SyslogIdentifier=siad
LimitNOFILE=10000
[Install]
WantedBy=default.target