-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6849ed
commit 077bb66
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
# ======================================================================================= | ||
# | ||
# This file is part of neth-proxy. | ||
# | ||
# neth-proxy is free software: you can redistribute it and/or modify | ||
# it under the terms Of the GNU General Public License As published by | ||
# the Free Software Foundation, either version 3 Of the License, Or | ||
# (at your option) any later version. | ||
# | ||
# neth-proxy is distributed In the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty Of | ||
# MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License For more details. | ||
# | ||
# You should have received a copy Of the GNU General Public License | ||
# along with neth-proxy. If not, see < http://www.gnu.org/licenses/ >. | ||
# | ||
# ======================================================================================= | ||
|
||
# Here you can hardcode your arguments if you wish. | ||
ARGS="-sp [email protected]:4444 --report-hashrate --work-timeout 120 --response-timeout 2000 --report-workers --stats-interval 10 --api-bind 3333" | ||
|
||
# If you pass arguments on the command line they will override the above statement | ||
if [ "$@" != "" ]; then | ||
ARGS=$@ | ||
fi | ||
clear | ||
dotnet exec neth-proxy.dll $ARGS |