summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile.go19
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/deb/Makefile.go19')
-rw-r--r--pkg/deb/Makefile.go195
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/deb/Makefile.go19 b/pkg/deb/Makefile.go19
index f7053274..9ddcc493 100644
--- a/pkg/deb/Makefile.go19
+++ b/pkg/deb/Makefile.go19
@@ -36,9 +36,10 @@ The $(MODULE_SUMMARY_go19) has been installed.
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-go1.9/examples/go-app/let-my-people.go
+ 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
- sudo service unit loadconfig /usr/share/doc/unit-go1.9/examples/unit.config
+ 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
curl http://localhost:8500/
Online documentation is available at https://unit.nginx.org