diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-17 13:28:31 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-17 13:28:31 +0700 |
| commit | 4e45545e0832d9d3a8c0311a87d82e81d3684cbe (patch) | |
| tree | 1c1a851164b64a25299d45befd5f9b8f31088c37 | |
| parent | 8264f90320926adc99d1dcddb3ea0d0c135af083 (diff) | |
| download | haminer-4e45545e0832d9d3a8c0311a87d82e81d3684cbe.tar.xz | |
all: move repository to git.sr.ht/~shulhan/haminer
| -rw-r--r-- | LICENSE | 2 | ||||
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | cmd/haminer/main.go | 2 | ||||
| -rw-r--r-- | go.mod | 2 |
4 files changed, 8 insertions, 8 deletions
@@ -28,4 +28,4 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- Website: http://kilabit.info Contact: ms@kilabit.info -Repository: https://github.com/shuLhan/haminer +Repository: https://git.sr.ht/~shulhan/haminer @@ -23,7 +23,7 @@ This steps assume that you already installed `Go`, `git`, and `influxdb`. Get the source code using git, - $ git clone git@github.com:shuLhan/haminer.git + $ git clone https://git.sr.ht/~shulhan/haminer $ cd haminer $ make @@ -32,11 +32,11 @@ The binary will be installed on `$GOPATH/bin/haminer`. ## Configuration -`haminer` by default will load it's config from `/etc/haminer.conf`, if not +haminer by default will load it's config from `/etc/haminer.conf`, if not specified when running the program. See -`[haminer.conf](https://github.com/shuLhan/haminer/blob/master/cmd/haminer/haminer.conf) +[haminer.conf](https://git.sr.ht/~shulhan/haminer/tree/main/item/cmd/haminer/haminer.conf) for an example of possible configuration and their explanation. @@ -53,7 +53,7 @@ example, ``` global ... - log 127.0.0.1:5140 local3 + log 127.0.0.1:5140 local3 ... ``` @@ -71,4 +71,4 @@ Then reload or restart HAProxy. $ $GOPATH/bin/haminer or use a -[systemd service](https://github.com/shuLhan/haminer/blob/master/cmd/haminer/haminer.service). +[systemd service](https://git.sr.ht/~shulhan/haminer/tree/main/item/cmd/haminer/haminer.service). diff --git a/cmd/haminer/main.go b/cmd/haminer/main.go index 7c7ac38..e2c98fb 100644 --- a/cmd/haminer/main.go +++ b/cmd/haminer/main.go @@ -9,7 +9,7 @@ import ( "fmt" "log" - "github.com/shuLhan/haminer" + "git.sr.ht/~shulhan/haminer" ) const ( @@ -1,4 +1,4 @@ -module github.com/shuLhan/haminer +module git.sr.ht/~shulhan/haminer go 1.18 |
