summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-08-17 13:28:31 +0700
committerShulhan <ms@kilabit.info>2022-08-17 13:28:31 +0700
commit4e45545e0832d9d3a8c0311a87d82e81d3684cbe (patch)
tree1c1a851164b64a25299d45befd5f9b8f31088c37
parent8264f90320926adc99d1dcddb3ea0d0c135af083 (diff)
downloadhaminer-4e45545e0832d9d3a8c0311a87d82e81d3684cbe.tar.xz
all: move repository to git.sr.ht/~shulhan/haminer
-rw-r--r--LICENSE2
-rw-r--r--README.md10
-rw-r--r--cmd/haminer/main.go2
-rw-r--r--go.mod2
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