Hello,
Yes, sure, you have three scenarios for that:
1.
Redhat /
Debian Linux distributions. By default uses systemd to manage the service automatically.
2. Windows, you can use Apache Commons Daemon, just follow
this.
3. WAR launcher, basically is to connect the WAR file init script to systemd, take a
look.
Hope it helps!