From f3850dfa6c1765aa285dbdc01f1da3529ecc7ea8 Mon Sep 17 00:00:00 2001 From: "Patrick M. Hausen" Date: Sun, 11 Oct 2020 14:00:09 +0200 Subject: [PATCH 1/2] Add install documentation for FreeBSD --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9c55041..b825f93 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,13 @@ sudo apt-get -y install golang-go go get github.com/mailhog/MailHog ``` +#### FreeBSD +```bash +pkg install mailhog +sysrc mailhog_enable="YES" +service mailhog start +``` + Then, start MailHog by running `/path/to/MailHog` in the command line. E.g. the path to Go's bin files on Ubuntu is `~/go/bin/`, so to start the MailHog run: From caec217be7f4491ec1ff036c26374a57eeadb0c9 Mon Sep 17 00:00:00 2001 From: "Patrick M. Hausen" Date: Sun, 11 Oct 2020 14:06:18 +0200 Subject: [PATCH 2/2] Fix order of install docs --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b825f93..6973386 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,6 @@ sudo apt-get -y install golang-go go get github.com/mailhog/MailHog ``` -#### FreeBSD -```bash -pkg install mailhog -sysrc mailhog_enable="YES" -service mailhog start -``` - Then, start MailHog by running `/path/to/MailHog` in the command line. E.g. the path to Go's bin files on Ubuntu is `~/go/bin/`, so to start the MailHog run: @@ -52,6 +45,13 @@ E.g. the path to Go's bin files on Ubuntu is `~/go/bin/`, so to start the MailHo ~/go/bin/MailHog ``` +#### FreeBSD +```bash +pkg install mailhog +sysrc mailhog_enable="YES" +service mailhog start +``` + #### Docker [Run it from Docker Hub](https://registry.hub.docker.com/r/mailhog/mailhog/) or using the provided [Dockerfile](Dockerfile)