summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/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/deb/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 '')
-rw-r--r--pkg/deb/Makefile.go2
-rw-r--r--pkg/deb/Makefile.go1102
-rw-r--r--pkg/deb/Makefile.go172
-rw-r--r--pkg/deb/Makefile.go182
-rw-r--r--pkg/deb/Makefile.go192
5 files changed, 5 insertions, 5 deletions
diff --git a/pkg/deb/Makefile.go b/pkg/deb/Makefile.go
index bbade7a3..3399f5ca 100644
--- a/pkg/deb/Makefile.go
+++ b/pkg/deb/Makefile.go
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode go build -o /tmp/go-app /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go)/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/deb/Makefile.go110 b/pkg/deb/Makefile.go110
index 9fb3da9d..0e956d9f 100644
--- a/pkg/deb/Makefile.go110
+++ b/pkg/deb/Makefile.go110
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.10/bin/go build -o /tmp/go1.10-app /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/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/deb/Makefile.go17 b/pkg/deb/Makefile.go17
index 4c3cc73f..d014edd1 100644
--- a/pkg/deb/Makefile.go17
+++ b/pkg/deb/Makefile.go17
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.7/bin/go build -o /tmp/go1.7-app /usr/share/doc/unit-$(MODULE_SUFFIX_go17)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go17)/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/deb/Makefile.go18 b/pkg/deb/Makefile.go18
index a9db87e0..597f4804 100644
--- a/pkg/deb/Makefile.go18
+++ b/pkg/deb/Makefile.go18
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.8/bin/go build -o /tmp/go1.8-app /usr/share/doc/unit-$(MODULE_SUFFIX_go18)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go18)/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/deb/Makefile.go19 b/pkg/deb/Makefile.go19
index 43611560..60d4b239 100644
--- a/pkg/deb/Makefile.go19
+++ b/pkg/deb/Makefile.go19
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.9/bin/go build -o /tmp/go1.9-app /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/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