From 4e45545e0832d9d3a8c0311a87d82e81d3684cbe Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 17 Aug 2022 13:28:31 +0700 Subject: all: move repository to git.sr.ht/~shulhan/haminer --- LICENSE | 2 +- README.md | 10 +++++----- cmd/haminer/main.go | 2 +- go.mod | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index a5754fd..3927122 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md index b05953b..bb90a3d 100644 --- a/README.md +++ b/README.md @@ -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 ( diff --git a/go.mod b/go.mod index a17af52..4963bb1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/shuLhan/haminer +module git.sr.ht/~shulhan/haminer go 1.18 -- cgit v1.3