Control: -1 reassign uwsgi

Here the original posting, including misspelled package name,
patch 
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;att=1;filename=debian-uwsgi.README.Debian-example-of-plugin-and-wsg.patch.txt;bug=825266
is added in-line for reading without extra effort (opening attachment, website 
visit)

Package: uwsi
Version: 2.0.12-7
Tags: patch
Severity: wishlist

Dear Maintainer,

Being new to uwsgi did took me some time to find out
what should go in files under /etc/uwsgi/apps-available

I learned that a plug-in needs to be installed.
And that wsgi file needs to be defined.

It would be nice it gets documented in README.Debian.

Find attached a patch for it.


>From 73bdf4c297c526d752a896aa2f941d207f433291 Mon Sep 17 00:00:00 2001
From: Geert Stappers <stapp...@stappers.nl>
Date: Wed, 25 May 2016 11:19:28 +0200
Subject: [PATCH] debian/uwsgi.README.Debian: example of plugin and wsgi file

The README.Debian.gz for uwsgi now contains an example
of what I needed:
 * apt-get install a plugin
 * name the plugin
 * path of wgsi file
---
 debian/uwsgi.README.Debian | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/uwsgi.README.Debian b/debian/uwsgi.README.Debian
index 1b0b8e7..63a6541 100644
--- a/debian/uwsgi.README.Debian
+++ b/debian/uwsgi.README.Debian
@@ -86,6 +86,15 @@ YAML configuration file may be empty. Example of YAML 
configuration:
         gid: uwsgi_group
         socket: /tmp/uwsgi.sock
 
+Another YAML configuration example. It tells about plugins and wsgi-file
+Values for uid, gid and socket are provided by the init script.
+(Consider the other config examples as syntax examples)
+
+    uwsgi:
+        plugins: python
+        # available after apt-get install uwsgi-plugin-python
+        wsgi-file: /srv/wsgi/hereiam.py
+
 For list of options passed by default to each started instance look at
 file, defined by option INHERITED_CONFIG in /etc/default/uwsgi.
 
-- 
2.0.0

Reply via email to