summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile.go110
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-09-27 15:04:49 +0300
committerAndrei Belov <defan@nginx.com>2018-09-27 15:04:49 +0300
commitaa6e4947bacd30e52e9bef6916f9a38c1ea37dab (patch)
treedb7a29c33c065091a351fde95fc03a5a0470d603 /pkg/deb/Makefile.go110
parent446479b3118a1217e359495ac4669931bfed65a9 (diff)
downloadunit-aa6e4947bacd30e52e9bef6916f9a38c1ea37dab.tar.gz
unit-aa6e4947bacd30e52e9bef6916f9a38c1ea37dab.tar.bz2
Packages: adjusted post-install banners.
Diffstat (limited to 'pkg/deb/Makefile.go110')
-rw-r--r--pkg/deb/Makefile.go1105
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/deb/Makefile.go110 b/pkg/deb/Makefile.go110
index 2465b772..863f7c90 100644
--- a/pkg/deb/Makefile.go110
+++ b/pkg/deb/Makefile.go110
@@ -36,9 +36,10 @@ The $(MODULE_SUMMARY_go110) has been installed.
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-go1.10/examples/go-app/let-my-people.go
+ 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
- sudo service unit loadconfig /usr/share/doc/unit-go1.10/examples/unit.config
+ 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
curl http://localhost:8500/
Online documentation is available at https://unit.nginx.org