To create the service file.
sudo vim /etc/systemd/system/webapp.service
sudo systemctl daemon-reload
sudo systemctl enable webapp.service
sudo systemctl start webapp
sudo systemctl restart webapp
If your webapp creates a unix socket, you could fix permissions by using a .path unit observer.
sudo vim /etc/systemd/system/webapp-watch.service
sudo vim /etc/systemd/system/webapp-watch.path
sudo systemctl daemon-reload
sudo systemctl enable webapp-watch.service
sudo systemctl enable webapp-watch.path
sudo systemctl start webapp-watch
A timer that will run an update daily
sudo vim /etc/systemd/system/webapp-update.service
sudo vim /etc/systemd/system/webapp-update.timer
sudo systemctl daemon-reload
sudo systemctl enable webapp-update.service
sudo systemctl enable webapp-update.timer
sudo systemctl start webapp-update