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
|
||||
Restart=on-failure
|
||||
SyslogIdentifier=siad-upload
|
||||
LimitNOFILE=10000
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue