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

avoid jsvc -user and use sudo instead if $RUN_USER provided #12

Merged
merged 2 commits into from
Jan 20, 2012

Conversation

kares
Copy link
Member

@kares kares commented Jan 20, 2012

not sure how for others but for me and @boxofrad jsvc -user does not really work.
he even issued a pull to fix it #11 - got me thinking it's a bit useless to have it anyway (assuming I'm not the only one it does not work for).

now I assume the "safest" use for running trinidad is under an application (non-root) user and proxying with apache or whatever. the new /etc/init.d/trinidad now supports this case, even when it's boot-ed by root (I expected this to be accomplishable with jsvc -user).
it's still possible to roll the "old" root way.

hopefully, this does make sense to others using the daemon on linux, would appreciate a review.

I also attempt to make directories for pid_file and log_file paths

…-existent directories for @pid_file and @log_file file paths + print user-friendly errors
@calavera
Copy link
Contributor

👍

@kares feel free to merge it, I'll release a new version as soon as this is resolved.

kares added a commit that referenced this pull request Jan 20, 2012
avoid jsvc -user and use sudo instead if $RUN_USER provided
@kares kares merged commit 72d1fd5 into trinidad:master Jan 20, 2012
@kares kares mentioned this pull request Feb 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants