[pkg-uWSGI-devel] Bug#969372: INFO: Bug#969372: uwsgi-emperor: SysV init script does nothing
Rens Houben
rhouben at systemec.nl
Tue Dec 22 09:07:00 GMT 2020
Hello,
I've come across the same bug while trying to set up a new service at work.
After some digging (we've currently got a mishmash of Jessie and Buster systems, not all of them have been upgraded yet) I discovered that the init script, such as it is, is identical in all versions, and it is not actually the problem.
Running the init script manually gave the following output:
rhouben at networking-lab-rh:/var/log/uwsgi$ sudo /etc/init.d/uwsgi-emperor start
[ ok ] Starting uwsgi-emperor (via systemctl): uwsgi-emperor.service.
... Whereas on a system still running Jessie I got:
shadur at radius-srv-dc25:~$ sudo /etc/init.d/uwsgi-emperor restart
[....] Restarting uWSGI Emperor server: uwsgi[uWSGI] getting INI configuration from /etc/uwsgi-emperor/emperor.ini
setting capability setgid [6]
setting capability setuid [7]
. ok
The issue arose because the init script isn't so much a script as it's a set of variables plugged into the init.d helper scripts, and /those/ have changed drastically from Jessie to Buster and onwards to call systemctl -- but in uwsgi-emperor's case there doesn't appear to /be/ a systemd service file to call on, so it quietly fails and does nothing at all.
I'm currently writing at least a rudimentary systemd service file for uwsgi-emperor to see if that makes it work; I can share it once I finish if you'd like.
--Rens Houben.
SYSTEMEC BV
Marinus Dammeweg 25, 5928 PW Venlo
Postbus 3290, 5902 RG Venlo
Industrienummer: 6817
Nederland
T: 077-3967572 (Support)
K.V.K. nummer: 12027782 (Venlo)
Neem een kijkje op onze vernieuwde website<https://www.systemec.nl>
[Systemec Datacenter Venlo, Nettetal en D?sseldorf]<https://www.systemec.nl>
ISO/IEC 27001:2017 gecertificeerd door
Digitrust, registratienummer DGT2020092101
NEN 7510-01:2017 gecertificeerd door
Digitrust, registratienummer DGTN2020092101<https://www.systemec.nl/nl/over-systemec/certificeringen>
[Systemec Helpdesk]<https://support.systemec.nl> Helpdesk<https://support.systemec.nl>
[Aanmelden nieuwsbrief]<https://www.systemec.nl/nl/nieuwsbrief> Aanmelden nieuwsbrief<https://www.systemec.nl/nl/nieuwsbrief>
Volg ons op: [Systemec Twitter] <https://twitter.com/systemec> [Systemec Facebook] <https://www.facebook.com/systemecbv> [Systemec Linkedin] <http://www.linkedin.com/company/systemec-b.v.> [Systemec Youtube] <http://www.youtube.com/user/systemec1>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-uwsgi-devel/attachments/20201222/021f75e2/attachment.html>
More information about the pkg-uWSGI-devel
mailing list