summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.go
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/rpm/Makefile.go
parent446479b3118a1217e359495ac4669931bfed65a9 (diff)
downloadunit-aa6e4947bacd30e52e9bef6916f9a38c1ea37dab.tar.gz
unit-aa6e4947bacd30e52e9bef6916f9a38c1ea37dab.tar.bz2
Packages: adjusted post-install banners.
Diffstat (limited to 'pkg/rpm/Makefile.go')
-rw-r--r--pkg/rpm/Makefile.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go
index c979f097..40ebf8fb 100644
--- a/pkg/rpm/Makefile.go
+++ b/pkg/rpm/Makefile.go
@@ -65,7 +65,8 @@ 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
- sudo service unit loadconfig /usr/share/doc/unit-go/examples/unit.config
+ cd /usr/share/doc/%{name}/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