geth: add a new package

The package was tested on raspberry pi 3. Geth needs about two hours to
fully sync the first try and uses an additional 250Mb of storage.

Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
This commit is contained in:
Mislav Novakovic
2018-07-02 16:55:49 +02:00
parent d03e32c513
commit 8e6a40aee2
2 changed files with 69 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh /etc/rc.common
START=90
STOP=10
USE_PROCD=1
PROG=/usr/bin/geth
start_service() {
procd_open_instance
procd_set_param command ${PROG}
procd_append_param command --syncmode "light" --cache 1024
procd_set_param respawn
procd_close_instance
}