Increase file limit in systemd services
This commit is contained in:
parent
f4c25cc820
commit
3820a16a9f
|
@ -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
|
ExecStop=/home/user/go/bin/siac --addr "localhost:9970" stop
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
SyslogIdentifier=siad-upload
|
SyslogIdentifier=siad-upload
|
||||||
|
LimitNOFILE=10000
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
|
@ -9,6 +9,7 @@ ExecStart=/home/user/go/bin/siad
|
||||||
ExecStop=/home/user/go/bin/siac stop
|
ExecStop=/home/user/go/bin/siac stop
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
SyslogIdentifier=siad
|
SyslogIdentifier=siad
|
||||||
|
LimitNOFILE=10000
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Reference in New Issue