summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.go
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
commit325421eac71e83a95edf178fc6ea5ee36c8da1bb (patch)
tree3bbcbb98d05e593e1c2fb3461db4b2cb45166a2e /pkg/rpm/Makefile.go
parent17068d2cdc1f0287f4d072e0d3a5694c8dd38e22 (diff)
downloadunit-325421eac71e83a95edf178fc6ea5ee36c8da1bb.tar.gz
unit-325421eac71e83a95edf178fc6ea5ee36c8da1bb.tar.bz2
Packages: URL fixed in examples to work with latest curl.
Diffstat (limited to 'pkg/rpm/Makefile.go')
-rw-r--r--pkg/rpm/Makefile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go
index d13e8d1a..f031c7ba 100644
--- a/pkg/rpm/Makefile.go
+++ b/pkg/rpm/Makefile.go
@@ -64,7 +64,7 @@ To check the sample app, run these commands:
GOPATH=%{gopath} go build -o /tmp/go-app /usr/share/doc/unit-go/examples/go-app/let-my-people.go
sudo service unit start
cd /usr/share/doc/%{name}/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