Files
streamline-emr/root/etc/systemd/system/streamline-emr.service
T
alec.turner 9cbefc841f Simplify application management and align with other docker applications
The notion of application "instances" is dropped in favor of a simpler,
single-instance approach. Default values are provided for all configuration
variables so allow the app to run without additional manual configuration.

A health check and auto-heal script are added to automatically restart the
application in case it becomes unavailable during operation.
2024-03-25 09:34:34 -07:00

16 lines
398 B
Desktop File

[Unit]
Description=Run Streamline EMR
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
RemainAfterExit=yes
User=root
WorkingDirectory=/var/signalytic/clientapps/streamline/streamline-emr
ExecStart=/var/signalytic/clientapps/streamline/streamline-emr/start
ExecStop=/var/signalytic/clientapps/streamline/streamline-emr/stop
TimeoutStartSec=0
[Install]
WantedBy=multi-user.target