current best practice to run a script runs at Fedora 23 startup.
I have a Fedora 23 server, not workstation. I want the current best practice to run a script that starts my Tomee-Plume server. I can find old forum posts about using the rc.local command. But is that still the best practice for Fedora 23?
I have tried to create my own "systemd unit" file. While there is a "systemd unit" file for Tomcat, there is no "systemd unit" file for Tomee-Plume. Trying to customize the existing Tomcat "systemd unit" file for Tomee-Plume has failed. My skills are not deep enough to figure out why it always locks on exit.
Is the old /etc/rc.d/rc.local command the only option left in my case? Or is there something newer and better?
You can create your own systemd script to inicialize our service you can use this guide https://access.redhat.com/documentati...
If you decide to go the rc.local route, you will need to also do
systemctl enable rc-local.service
.