From 5c4bb8ad47d8bac6131e0318f86c30946dfb3303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 8 Jan 2016 12:07:31 +0100 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d102831..208d2ea 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ Based original on whoisd from the dn42 monotone registry written by welterde. 1. Install a go compiler (like apt-get install go) 2. Setup Go Workspace: - $ mkdir ~/go && export GOPATH=~/go + $ mkdir ~/go && export GOPATH=~/go 3. Download and install the daemon - $ go get github.com/Mic92/whois42d + $ go get github.com/Mic92/whois42d ## Usage @@ -26,12 +26,12 @@ However you can use one of the following options to run whois42d without beeing 1. Use setcap on file: - $ setcap 'cap_net_bind_service=+ep' ./whois42d + $ setcap 'cap_net_bind_service=+ep' ./whois42d 2. Use a supervisor supporting socket activation, for example systemd: - $ cp whois42d.service whois42d.socket /etc/systemd/system - $ install -D -m755 ~/go/bin/whois42d /usr/local/bin/ + $ cp whois42d.service whois42d.socket /etc/systemd/system + $ install -D -m755 ~/go/bin/whois42d /usr/local/bin/ Edit whois42d.service to point to your monotone registry path, then enable it with