I configured a systemd service (and registration into yunohost web admin interface), but I’m unsure how to do it properly. Right now the command is python 3 /var/www/[app path]/init.py
and that’s it.
I don’t know if it’s needed in that case, it’s a very simple and lightweight app, and I believe it won’t be used that much.
Is it simple to do ? What’s the drawbacks ?
When I uninstall it ?
And also I think it’s good that users have the control to shut it down.
Already done, thanks :), it’s very simple with the handler and the default example
Oh yeah, I haven’t deployed a python app for so long that I forgot about that
Great, thanks for the tip. What the syntax ? Just flask
?
Thanks for pointing this, very appreciated, I was a bit lost about how to do it properly the yunohost way