Created
August 21, 2014 19:21
-
-
Save bbhoss/831d9e90f9f10ce96bb0 to your computer and use it in GitHub Desktop.
Mirth systemd descriptor for CentOS/RHEL 7. Just extract the mirthconnect tarball to /opt/mirthconnect, create a system user for mirth, chown accordingly, and install/enable this config file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Mirth Connect Interface Engine | |
After=network.target | |
[Service] | |
Type=forking | |
User=mirth | |
Group=mirth | |
ExecStart=/opt/mirthconnect/mcservice start | |
ExecStop=/opt/mirthconnect/mcservice stop | |
ExecRestart=/opt/mirthconnect/mcservice restart | |
# Give a reasonable amount of time for the server to start up/shut down | |
TimeoutSec=60 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment