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