...
- Download openspecimen.service.
- Edit file downloaded in step #1 in any editor of your choice. Replace first occurrence of
$CATALINA_HOME
with the value of$TOMCAT_HOME
- Copy edited file to
/etc/systemd/system
directory - Stop Tomcat process, if running
- Execute below command to notify systemd that OpenSpecimen service has been added
$sudo systemctl daemon-reload
- Use below commands to start, status .stop, or restart OpenSpecimen service
$sudo systemctl start openspecimen.service
$sudo systemctl status openspecimen.service
$sudo systemctl stop openspecimen.service
$sudo systemctl restart openspecimen.service
- Enable starting of OpenSpecimen on boot by executing below command:
$sudo systemctl enable openspecimen.service
...