summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile.go19
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-12-27 11:06:43 +0300
committerAndrei Belov <defan@nginx.com>2018-12-27 11:06:43 +0300
commitba738d1f65e6e213e9f9adfeee0468b1f9a278a0 (patch)
treeacb9ce8b3f37a03e7ad96f85ae9bf80eb12b17c5 /pkg/deb/Makefile.go19
parent33b6f4c76530e21d05c06ccdd4b0c43db964e67b (diff)
downloadunit-ba738d1f65e6e213e9f9adfeee0468b1f9a278a0.tar.gz
unit-ba738d1f65e6e213e9f9adfeee0468b1f9a278a0.tar.bz2
Packages: URL fixed in examples to work with latest curl.
Diffstat (limited to '')
-rw-r--r--pkg/deb/Makefile.go192
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/deb/Makefile.go19 b/pkg/deb/Makefile.go19
index 43611560..60d4b239 100644
--- a/pkg/deb/Makefile.go19
+++ b/pkg/deb/Makefile.go19
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.9/bin/go build -o /tmp/go1.9-app /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/examples
- sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config
curl http://localhost:8500/
Online documentation is available at https://unit.nginx.org