Thanks Houben, I appreciate your efforts! Sam
Quoting Rens Houben (2020-12-22 16:07:00) > 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@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@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 > > Systemec Datacenter Venlo, Nettetal en Düsseldorf > > ISO/IEC 27001:2017 gecertificeerd door > Digitrust, registratienummer DGT2020092101 > NEN 7510-01:2017 gecertificeerd door > Digitrust, registratienummer DGTN2020092101 > > Systemec Helpdesk Helpdesk > > Aanmelden nieuwsbrief Aanmelden nieuwsbrief > > Volg ons op: Systemec Twitter Systemec Facebook Systemec Linkedin Systemec > Youtube >
signature.asc
Description: signature