Systemctl start sentosa.service
I just started to publish my Sentosa web portal and users of my company are now starting to use it. Great!
I wanted to add a service on my CentOS server and I wanted to manage it with Systemd.
First I created a /etc/systemd/system/sentosa.service
file that contains:
the app.psgi is the standard file from GitHub, I just disabled the debug mode.
Now I can start, restart, stop my service with:
And I can monitor the tail of the logs with: