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