Hello, I don't know if that's offtopic but I tried the suggested service file and I got
|root@ubuntu-512mb-ams3-01:/etc/systemd/system# sctl status
myapp.service ●myapp.service -myapp xsp4 WebAPI2Loaded:loaded
(/etc/systemd/system/myapp.service;disabled;vendor
preset:enabled)Active:inactive
(dead)Oct0714:32:00ubuntu-512mb-ams3-01systemd[1]:myapp.service:Startrequest
repeated too
quickly.Oct0714:32:00ubuntu-512mb-ams3-01systemd[1]:Failedto start
myapp xsp4
WebAPI2.Oct0714:59:12ubuntu-512mb-ams3-01systemd[1]:Stoppedmyapp
xsp4
WebAPI2.Oct0714:59:16ubuntu-512mb-ams3-01systemd[1]:Startedmyapp
xsp4 WebAPI2.Oct0714:59:19ubuntu-512mb-ams3-01xsp4[26490]:xsp4
Oct0714:59:19ubuntu-512mb-ams3-01xsp4[26490]:Listeningon
address:127.0.0.1Oct0714:59:19ubuntu-512mb-ams3-01xsp4[26490]:Rootdirectory:/var/www/myapp.com/server
Oct0714:59:19ubuntu-512mb-ams3-01xsp4[26490]:Listeningon
port:9000(non-secure)Oct0714:59:19ubuntu-512mb-ams3-01xsp4[26490]:HitReturnto
stop the
server.Oct0714:59:19ubuntu-512mb-ams3-01xsp4[26490]:[0x7f24851e9700:]EXCEPTION
handling:System.Threading.ThreadAbortException:|
signature.asc
Description: OpenPGP digital signature

