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.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/rpm/Makefile.perl') diff --git a/pkg/rpm/Makefile.perl b/pkg/rpm/Makefile.perl index 90259e9e..84c15260 100644 --- a/pkg/rpm/Makefile.perl +++ b/pkg/rpm/Makefile.perl @@ -51,7 +51,7 @@ To check out 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:8600/ 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.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/rpm/Makefile.perl') diff --git a/pkg/rpm/Makefile.perl b/pkg/rpm/Makefile.perl index 84c15260..f59b7353 100644 --- a/pkg/rpm/Makefile.perl +++ b/pkg/rpm/Makefile.perl @@ -51,7 +51,7 @@ To check out 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:8600/ Online documentation is available at https://unit.nginx.org -- cgit