summaryrefslogtreecommitdiffhomepage
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
parent446479b3118a1217e359495ac4669931bfed65a9 (diff)
downloadunit-aa6e4947bacd30e52e9bef6916f9a38c1ea37dab.tar.gz
unit-aa6e4947bacd30e52e9bef6916f9a38c1ea37dab.tar.bz2
Packages: adjusted post-install banners.
Diffstat (limited to '')
-rw-r--r--pkg/deb/Makefile.go5
-rw-r--r--pkg/deb/Makefile.go1105
-rw-r--r--pkg/deb/Makefile.go175
-rw-r--r--pkg/deb/Makefile.go185
-rw-r--r--pkg/deb/Makefile.go195
-rw-r--r--pkg/deb/Makefile.perl3
-rw-r--r--pkg/deb/Makefile.php3
-rw-r--r--pkg/deb/Makefile.python3
-rw-r--r--pkg/deb/Makefile.python273
-rw-r--r--pkg/deb/Makefile.python343
-rw-r--r--pkg/deb/Makefile.python353
-rw-r--r--pkg/deb/Makefile.python363
-rw-r--r--pkg/deb/Makefile.ruby3
-rw-r--r--pkg/rpm/Makefile.go3
-rw-r--r--pkg/rpm/Makefile.perl3
-rw-r--r--pkg/rpm/Makefile.php3
-rw-r--r--pkg/rpm/Makefile.python3
-rw-r--r--pkg/rpm/Makefile.python273
-rw-r--r--pkg/rpm/Makefile.python343
-rw-r--r--pkg/rpm/Makefile.python353
-rw-r--r--pkg/rpm/Makefile.python363
-rw-r--r--pkg/rpm/Makefile.ruby3
22 files changed, 49 insertions, 27 deletions
diff --git a/pkg/deb/Makefile.go b/pkg/deb/Makefile.go
index a5ce1494..2d7d6537 100644
--- a/pkg/deb/Makefile.go
+++ b/pkg/deb/Makefile.go
@@ -36,9 +36,10 @@ The $(MODULE_SUMMARY_go) has been installed.
To check out the sample app, run these commands:
- GOPATH=/usr/share/gocode go build -o /tmp/go-app /usr/share/doc/unit-go/examples/go-app/let-my-people.go
+ 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
- sudo service unit loadconfig /usr/share/doc/unit-go/examples/unit.config
+ 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
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 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
diff --git a/pkg/deb/Makefile.go17 b/pkg/deb/Makefile.go17
index 9495e416..201b32b2 100644
--- a/pkg/deb/Makefile.go17
+++ b/pkg/deb/Makefile.go17
@@ -36,9 +36,10 @@ The $(MODULE_SUMMARY_go17) has been installed.
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-go1.7/examples/go-app/let-my-people.go
+ 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
- sudo service unit loadconfig /usr/share/doc/unit-go1.7/examples/unit.config
+ 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
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 114000a8..70b155d4 100644
--- a/pkg/deb/Makefile.go18
+++ b/pkg/deb/Makefile.go18
@@ -36,9 +36,10 @@ The $(MODULE_SUMMARY_go18) has been installed.
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-go1.8/examples/go-app/let-my-people.go
+ 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
- sudo service unit loadconfig /usr/share/doc/unit-go1.8/examples/unit.config
+ 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
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 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
diff --git a/pkg/deb/Makefile.perl b/pkg/deb/Makefile.perl
index a6106de0..186b8e5a 100644
--- a/pkg/deb/Makefile.perl
+++ b/pkg/deb/Makefile.perl
@@ -34,7 +34,8 @@ The $(MODULE_SUMMARY_perl) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-perl/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_perl)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8600/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.php b/pkg/deb/Makefile.php
index 492e88fd..193670e7 100644
--- a/pkg/deb/Makefile.php
+++ b/pkg/deb/Makefile.php
@@ -41,7 +41,8 @@ The $(MODULE_SUMMARY_php) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-php/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_php)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8300/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python b/pkg/deb/Makefile.python
index d1cbe0e1..dec64b26 100644
--- a/pkg/deb/Makefile.python
+++ b/pkg/deb/Makefile.python
@@ -34,7 +34,8 @@ The $(MODULE_SUMMARY_python) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-python/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_python)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python27 b/pkg/deb/Makefile.python27
index 8a323bd4..ae1ae4c0 100644
--- a/pkg/deb/Makefile.python27
+++ b/pkg/deb/Makefile.python27
@@ -34,7 +34,8 @@ The $(MODULE_SUMMARY_python27) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-python2.7/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_python27)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python34 b/pkg/deb/Makefile.python34
index b5818b2f..5e043ef4 100644
--- a/pkg/deb/Makefile.python34
+++ b/pkg/deb/Makefile.python34
@@ -34,7 +34,8 @@ The $(MODULE_SUMMARY_python34) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-python3.4/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_python34)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python35 b/pkg/deb/Makefile.python35
index 6289b6af..557690a9 100644
--- a/pkg/deb/Makefile.python35
+++ b/pkg/deb/Makefile.python35
@@ -34,7 +34,8 @@ The $(MODULE_SUMMARY_python35) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-python3.5/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_python35)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python36 b/pkg/deb/Makefile.python36
index fc4bac45..07cbba90 100644
--- a/pkg/deb/Makefile.python36
+++ b/pkg/deb/Makefile.python36
@@ -34,7 +34,8 @@ The $(MODULE_SUMMARY_python36) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-python3.6/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_python36)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.ruby b/pkg/deb/Makefile.ruby
index 516c41c7..1cb6baab 100644
--- a/pkg/deb/Makefile.ruby
+++ b/pkg/deb/Makefile.ruby
@@ -36,7 +36,8 @@ The $(MODULE_SUMMARY_ruby) has been installed.
To check out the sample app, run these commands:
sudo service unit restart
- sudo service unit loadconfig /usr/share/doc/unit-ruby/examples/unit.config
+ cd /usr/share/doc/unit-$(MODULE_SUFFIX_ruby)/examples
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
curl http://localhost:8700/
Online documentation is available at https://unit.nginx.org
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
diff --git a/pkg/rpm/Makefile.perl b/pkg/rpm/Makefile.perl
index 5ecc4bd0..90259e9e 100644
--- a/pkg/rpm/Makefile.perl
+++ b/pkg/rpm/Makefile.perl
@@ -50,7 +50,8 @@ The $(MODULE_SUMMARY_perl) has been installed.
To check out the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-perl/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:8600/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.php b/pkg/rpm/Makefile.php
index 9556f839..b4f093b7 100644
--- a/pkg/rpm/Makefile.php
+++ b/pkg/rpm/Makefile.php
@@ -45,7 +45,8 @@ The $(MODULE_SUMMARY_php) has been installed.
To check out the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-php/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:8300/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python b/pkg/rpm/Makefile.python
index e95665a7..0b0eb7bd 100644
--- a/pkg/rpm/Makefile.python
+++ b/pkg/rpm/Makefile.python
@@ -45,7 +45,8 @@ The $(MODULE_SUMMARY_python) has been installed.
To check the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-python/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python27 b/pkg/rpm/Makefile.python27
index 2464926a..7d15bdd9 100644
--- a/pkg/rpm/Makefile.python27
+++ b/pkg/rpm/Makefile.python27
@@ -47,7 +47,8 @@ The $(MODULE_SUMMARY_python27) has been installed.
To check the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-python27/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python34 b/pkg/rpm/Makefile.python34
index f7105644..152007a2 100644
--- a/pkg/rpm/Makefile.python34
+++ b/pkg/rpm/Makefile.python34
@@ -45,7 +45,8 @@ The $(MODULE_SUMMARY_python34) has been installed.
To check the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-python34/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python35 b/pkg/rpm/Makefile.python35
index 79b8cce3..3f075702 100644
--- a/pkg/rpm/Makefile.python35
+++ b/pkg/rpm/Makefile.python35
@@ -40,7 +40,8 @@ The $(MODULE_SUMMARY_python35) has been installed.
To check the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-python35/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python36 b/pkg/rpm/Makefile.python36
index 940cee0e..fd55840e 100644
--- a/pkg/rpm/Makefile.python36
+++ b/pkg/rpm/Makefile.python36
@@ -45,7 +45,8 @@ The $(MODULE_SUMMARY_python36) has been installed.
To check the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-python36/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.ruby b/pkg/rpm/Makefile.ruby
index 4c7af084..5702fb44 100644
--- a/pkg/rpm/Makefile.ruby
+++ b/pkg/rpm/Makefile.ruby
@@ -54,7 +54,8 @@ The $(MODULE_SUMMARY_ruby) has been installed.
To check the sample app, run these commands:
sudo service unit start
- sudo service unit loadconfig /usr/share/doc/unit-ruby/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:8700/
Online documentation is available at https://unit.nginx.org