summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.go
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-01-24 15:18:19 +0300
committerAndrei Belov <defan@nginx.com>2019-01-24 15:18:19 +0300
commit3b7f28f23cf9592a24272bccfba325414cc07fb1 (patch)
tree7b522a3285ba4c35b82cc256574ff2fd4d91c480 /pkg/rpm/Makefile.go
parentb78ed44f396cbfde7d8353cbc3faaf35c0f4dddf (diff)
downloadunit-3b7f28f23cf9592a24272bccfba325414cc07fb1.tar.gz
unit-3b7f28f23cf9592a24272bccfba325414cc07fb1.tar.bz2
Packages: fixed control socket path after 7012b4fd5113.
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 f031c7ba..09dffd21 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 http://localhost/config
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localhost/config
curl http://localhost:8500/
Online documentation is available at https://unit.nginx.org