Yes, there were a lot of changes related to systemd as the way to init deamon as change a lot... Despite all the criticism about systemd, I found it a lot more simpler to write init (just a few lines of code) compare to the old /etc/init.d/ bash script file...
Regards Richard On Fri, Dec 9, 2016 at 9:00 AM, Mirek Zvolský <zvol...@seznam.cz> wrote: > Thanks, Richard. > I have my Web2py fork and I will send PR in the future if I will know, > what to improve. > > I have just now compared current Web2py script --vs-- version of script I > have used (it was in my fork, but I have reinstalled without it) --vs-- > configuration files on my well working server, > > and I see all of them have all 3 configuration files (/etc/init/.., > /etc/uwsgi/.., /etc/systemd/system/..) > and these files are identical. > So I think the installation with the nginx/ubuntu script (from trunk) will > work. > > There was some problem in OLD history (2015?): > /etc/uwsgi/web2py.ini was missing (web2py 2.13.4) + there was a missing > code in /etc/systemd/system/emperor.uwsgi.service > > see this thread: https://groups.google.com/foru > m/#!starred/web2py/ZM9IIEjtHSI > > I think today is all ok with current stable and with trunk too. > > > > > On Thursday, 8 December 2016 18:01:46 UTC+1, Richard wrote: >> >> No problem... >> >> You maybe could post diff of your change, it would greatly help to >> understand what you change. >> >> Maybe it get rejected because it was applying for Debian only? >> >> Anyway thanks for your contribution, I just want to point you in the >> rigth direction to improve chance your work didn't get lost on the list as >> it happen sometimes. >> >> :) >> >> Richard >> >> >> >> On Thu, Dec 8, 2016 at 10:29 AM, Mirek Zvolský <zvo...@seznam.cz> wrote: >> >>> Hi Richard. >>> >>> I'm beginner with Linux (upgrade from Windows to Linux was one of best >>> steps in my professional life!). >>> However at this time it is for me not good idea to write bash scripts >>> for some complex product. >>> >>> In fact I made PR in this case (when I have added something from other >>> post in this user group into the Web2py nginx/ubuntu script). >>> It was not accepted, but maybe the team has implemented/reimplemented >>> the changes into the framework full or partially. >>> >>> But I am not sure about this (and haven't time to test it). >>> This is the reason why I have written: >>> - give first opportunity to the script from framework (github >>> web2py/web2py), >>> - if it fails, then (maybe) my version could work. >>> >>> >>> >>> >>> On Thursday, 8 December 2016 16:08:32 UTC+1, Richard wrote: >>>> >>>> Hello Mirek, >>>> >>>> Your contribution is pretty much appreciate, but it would make more >>>> sens that you submit your improvements as a PR over github and then point >>>> other users over you fork or the PR pending acceptation our your commit >>>> once PR accepted... >>>> >>>> Thanks for your help >>>> >>>> Richard >>>> >>>> On Thu, Dec 8, 2016 at 7:27 AM, Mirek Zvolský <zvo...@seznam.cz> wrote: >>>> >>>>> One thing more.... >>>>> In my opinion the service is controlled without ".service" in name. >>>>> >>>>> systemctl start emperor.uwsgi (if >>>>> /etc/systemd/system/emperor.uwsgi.service >>>>> used) >>>>> >>>>> systemctl start uwsgi (if the name is /etc/systemd/system/uwsgi.service >>>>> as (maybe) in your 'digitalocean' article) >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Thursday, 8 December 2016 05:53:58 UTC+1, J Boggy wrote: >>>>> >>>>>> Web2py with ngix start work well. >>>>>> But when i start uwsgi >>>>>> it show uwsgi.service not found error. >>>>>> If i need to create service i don't know how to create. >>>>>> I follow this way >>>>>> https://www.digitalocean.com/community/tutorials/how-to-depl >>>>>> oy-web2py-python-applications-with-uwsgi-and-nginx-on-ubuntu-14-04 >>>>>> >>>>> -- >>>>> Resources: >>>>> - http://web2py.com >>>>> - http://web2py.com/book (Documentation) >>>>> - http://github.com/web2py/web2py (Source code) >>>>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "web2py-users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to web2py+un...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to web2py+un...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.