Unix Service Installation
Smile CDR ships with a systemd service script that can be used to start Smile CDR as a Linux service.
This service script should require very little configuration in order to work correctly. It provides the following functionality:
It can be configured to start automatically upon system startup
It will automatically restart the service if it dies
It runs the service as a user called smile
(although this can be modified)
In order to install the systemd script, copy the service file to the sytemd service directory:
sudo cp bin/smilecdr.service /etc/systemd/system/smilecdr.service
sudo chown root /etc/systemd/system/smilecdr.service
You may want to edit this file to change any relevant defaults:
The script assumes that Smile CDR will run as the smile
user
The script assumes that Smile CDR is installed in /opt/smilecdr
Start the service:
sudo systemctl start smilecdr
Stop the service:
sudo systemctl stop smilecdr
To configure the system to start Smile CDR automatically when the system boots up.
sudo systemctl enable smilecdr
You are about to leave the Smile Digital Health documentation and navigate to the Open Source HAPI-FHIR Documentation.