Skip to content

Commit 077bb66

Browse files
Linux start bash
1 parent d6849ed commit 077bb66

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Scripts/neth-proxy.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
3+
# =======================================================================================
4+
#
5+
# This file is part of neth-proxy.
6+
#
7+
# neth-proxy is free software: you can redistribute it and/or modify
8+
# it under the terms Of the GNU General Public License As published by
9+
# the Free Software Foundation, either version 3 Of the License, Or
10+
# (at your option) any later version.
11+
#
12+
# neth-proxy is distributed In the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty Of
14+
# MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU General Public License For more details.
16+
#
17+
# You should have received a copy Of the GNU General Public License
18+
# along with neth-proxy. If not, see < http://www.gnu.org/licenses/ >.
19+
#
20+
# =======================================================================================
21+
22+
# Here you can hardcode your arguments if you wish.
23+
ARGS="-sp 0x9E431042fAA3224837e9BEDEcc5F4858cf0390B9@eu1.ethermine.org:4444 --report-hashrate --work-timeout 120 --response-timeout 2000 --report-workers --stats-interval 10 --api-bind 3333"
24+
25+
# If you pass arguments on the command line they will override the above statement
26+
if [ "$@" != "" ]; then
27+
ARGS=$@
28+
fi
29+
clear
30+
dotnet exec neth-proxy.dll $ARGS

0 commit comments

Comments
 (0)