[pkg-uWSGI-devel] Bug#950273: uwsgi: missing-systemd-service-for-init.d-script

Andreas Henriksson andreas at fatal.se
Thu Jan 30 21:35:15 GMT 2020


Control: forcemerge 833067 -1

On Thu, Jan 30, 2020 at 09:24:17PM +0100, Andreas Henriksson wrote:
> Source: uwsgi
> Version: 2.0.18-7
> Severity: normal
> 
> Dear Maintainer,
> 
> Please consider shipping a native systemd service masking the
> currently shipped init script (fixing lintian tag[1] in subject).
[...]

Sorry for the noise. I see now that this has already been discussed
in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833067

If someone has interest in working on this, but the only problem
stopping them being not being comfortable with systemd I'd recommend
reaching out to the pkg-systemd-maintainers mailing list where people
are generally helpful in giving helpful systemd related feedback as
long as someone knows how their application/daemon works internally.

FWIW I personally gave a quick glance at the init script and at first it
seemed like it was a simple script that would be quite straight forward,
then I noticed the complicated logic was hidden in the do_command
script. My next thought was that maybe a systemd service file would
simply wrap the do_command script, but unfortunately it can't be
used directly because it relies on being imported from something that
has already imported LSB functionality (which can mostly be disabled
by setting VERBOSE=no, but not all cases unfortunately - eg.
log_message_done). I didn't investigate further.

Regards,
Andreas Henriksson



More information about the pkg-uWSGI-devel mailing list