summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile.go110
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
commita22fd45248b6a247673d1fd9ab50c183987ab9b4 (patch)
tree9bc90e18fbb2ad0880af54cf19d8d1db97e725dd /pkg/deb/Makefile.go110
parente038f1e9cc61e735645a3ac8605b055614327040 (diff)
downloadunit-a22fd45248b6a247673d1fd9ab50c183987ab9b4.tar.gz
unit-a22fd45248b6a247673d1fd9ab50c183987ab9b4.tar.bz2
Packages: URL fixed in examples to work with latest curl.
Diffstat (limited to 'pkg/deb/Makefile.go110')
-rw-r--r--pkg/deb/Makefile.go1102
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/deb/Makefile.go110 b/pkg/deb/Makefile.go110
index 9fb3da9d..0e956d9f 100644
--- a/pkg/deb/Makefile.go110
+++ b/pkg/deb/Makefile.go110
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.10/bin/go build -o /tmp/go1.10-app /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/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