I have an executable file on a server which is a full-fledged standalone web application. When I login to a server via ssh and run the file, the website become visible in the internet. Obviously, because it's run via ssh by me, when I disconnect the website goes down. What's the idiomatic and easy way to run that file 24/7 and preferably re-launch when it goes down? It's Ubuntu 15 but my question isn't only about it. I don't want to use any third-party solutions or web services, only the standard Linux tools and applications.Should I create a service for systemd?
How to run an executable file (web app) 24/7 and restart automatically when it breaks down?
ubuntu;systemd;webserver;services
Yes, you need to make the full-fledged web server executable a service. Prefer a non-root account for the service  I'd even say it's mandatory  to limit damages in cases the web server gets compromised. I think1 systemd is well documented enough to guide you through the required steps.1 I don't run systemd, in case the question arises...