Commit Graph

7 Commits

Author SHA1 Message Date
kdeme 354204e7ca
service: add storage-capacity, use instead of static radius
Static radius will cause the database to grow as the total
content on the network grows. This was fine in the beginning
to ensure enough nodes had the content but becomes impossible to
maintain now that the network is growing substancially.
Instead we now set it to a fixed max storage capacity.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-02 10:51:59 +02:00
Jakub Sokołowski 8040eec9a1
service: add support for --network flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-28 18:42:26 +02:00
Jakub Sokołowski d8f04d0a37
sudo: allow disabling and masking services too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-27 22:39:31 +02:00
Jakub Sokołowski 0f54a4df9f
config: fix creating bootstrap file
Using `join("\n")` desn't work. It just inserts litaral `\n`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 11:21:20 +01:00
Jakub Sokołowski a97db210ce
consul: use rpc.sh and discv5_nodeInfo for check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 00:57:13 +01:00
Jakub Sokołowski f74b0199c7
parametrize name of service to restart after build
This will allow us to run just one build for all nodes and also restart
all nodes on the host once the build is finished using a wildcard.

Also drop useless `SERVICE_PATH` variable and `pushd`/`popd` calls.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-08 15:48:47 +01:00
Jakub Sokołowski 7945026dc7
add first working version
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-04 13:27:09 +01:00