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