I have a standalone webapp on a Debian 10 server.
I want to launch that app as a background process to make sure it does not stop after all sessions expire.
I call my app with “&” at the end of the command.
I also use “call daemonise” in the app.open event.
The process does not stop but the app does not respond after all sessions are closed.
I have to terminate the process and re-run my command to make the app available again.
Name it e.g. myweb.service
The parameter ExecStart has to point to your compiled XoJo-WebApp.
Then do a systemctl daemon-reload.
With systemctl start myweb.service you can start, systemctl stop myweb.service you can stop and with systemctl status myweb.service you can see the status.