summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.python
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
5 files changed, 10 insertions, 5 deletions
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