summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm
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/rpm
parente038f1e9cc61e735645a3ac8605b055614327040 (diff)
downloadunit-a22fd45248b6a247673d1fd9ab50c183987ab9b4.tar.gz
unit-a22fd45248b6a247673d1fd9ab50c183987ab9b4.tar.bz2
Packages: URL fixed in examples to work with latest curl.
Diffstat (limited to 'pkg/rpm')
-rw-r--r--pkg/rpm/Makefile.go2
-rw-r--r--pkg/rpm/Makefile.perl2
-rw-r--r--pkg/rpm/Makefile.php2
-rw-r--r--pkg/rpm/Makefile.python2
-rw-r--r--pkg/rpm/Makefile.python272
-rw-r--r--pkg/rpm/Makefile.python342
-rw-r--r--pkg/rpm/Makefile.python352
-rw-r--r--pkg/rpm/Makefile.python362
-rw-r--r--pkg/rpm/Makefile.ruby2
9 files changed, 9 insertions, 9 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
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
diff --git a/pkg/rpm/Makefile.php b/pkg/rpm/Makefile.php
index b4f093b7..eedcce4e 100644
--- a/pkg/rpm/Makefile.php
+++ b/pkg/rpm/Makefile.php
@@ -46,7 +46,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:8300/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python b/pkg/rpm/Makefile.python
index 0b0eb7bd..bb408bb5 100644
--- a/pkg/rpm/Makefile.python
+++ b/pkg/rpm/Makefile.python
@@ -46,7 +46,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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python27 b/pkg/rpm/Makefile.python27
index 7d15bdd9..c6a2ec65 100644
--- a/pkg/rpm/Makefile.python27
+++ b/pkg/rpm/Makefile.python27
@@ -48,7 +48,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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python34 b/pkg/rpm/Makefile.python34
index 152007a2..1dc10f9c 100644
--- a/pkg/rpm/Makefile.python34
+++ b/pkg/rpm/Makefile.python34
@@ -46,7 +46,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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python35 b/pkg/rpm/Makefile.python35
index 3f075702..3e4e0a2e 100644
--- a/pkg/rpm/Makefile.python35
+++ b/pkg/rpm/Makefile.python35
@@ -41,7 +41,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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python36 b/pkg/rpm/Makefile.python36
index fd55840e..d674d8fe 100644
--- a/pkg/rpm/Makefile.python36
+++ b/pkg/rpm/Makefile.python36
@@ -46,7 +46,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:8400/
Online documentation is available at https://unit.nginx.org
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