From 325421eac71e83a95edf178fc6ea5ee36c8da1bb Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 27 Dec 2018 11:06:43 +0300 Subject: Packages: URL fixed in examples to work with latest curl. --- pkg/rpm/Makefile.ruby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/rpm/Makefile.ruby') diff --git a/pkg/rpm/Makefile.ruby b/pkg/rpm/Makefile.ruby index 5702fb44..92416338 100644 --- a/pkg/rpm/Makefile.ruby +++ b/pkg/rpm/Makefile.ruby @@ -55,7 +55,7 @@ To check the sample app, run these commands: 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:8700/ Online documentation is available at https://unit.nginx.org -- cgit From 3b7f28f23cf9592a24272bccfba325414cc07fb1 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 24 Jan 2019 15:18:19 +0300 Subject: Packages: fixed control socket path after 7012b4fd5113. --- pkg/rpm/Makefile.ruby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/rpm/Makefile.ruby') diff --git a/pkg/rpm/Makefile.ruby b/pkg/rpm/Makefile.ruby index 92416338..51c2949d 100644 --- a/pkg/rpm/Makefile.ruby +++ b/pkg/rpm/Makefile.ruby @@ -55,7 +55,7 @@ To check the sample app, run these commands: 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:8700/ Online documentation is available at https://unit.nginx.org -- cgit