Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't specify which user to run Mirth Connect Service in mcservice script; have to hack the mcservice script to specify user #2331

Open
rbeckman-nextgen opened this issue May 11, 2020 · 2 comments
Labels

Comments

@rbeckman-nextgen
Copy link
Collaborator

The Mirth Connect service script (mcservice) runs under root by default. In order to run it under another user, I had to "hack" the script and place code into the middle of the script. This is not ideal since the script might change in future version, and, even if it didn't, the script will need to be "re-hacked" with each update.

It would be helpful if at the top of the script there were a variable like USER and by default it would be something like:
USER = "root"

Changing the user name in the USER variable would have the affect of running the service under a different user

Imported Issue. Original Details:
Jira Issue Key: MIRTH-2395
Reporter: mbs
Created: 2013-03-12T14:38:13.000-0700

@rbeckman-nextgen
Copy link
Collaborator Author

Sorry, I meant to put Mirth Connect Server when I put Mirth Connect Administrator. I can't seem to figure out how to edit the title.

Imported Comment. Original Details:
Author: mbs
Created: 2013-03-12T14:40:52.000-0700

@drcdev
Copy link

drcdev commented Dec 3, 2020

Did you ever figure this out? I want to do something like this, but it won't execute: https://gist.github.com/bbhoss/831d9e90f9f10ce96bb0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants