-
Notifications
You must be signed in to change notification settings - Fork 74
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 seem to use relative path to ssl_server_cert #81
Comments
I'm actually not 100% sure that a relative path for the key won't work. Is it possible that the working directory remote_syslog was started in - that is, what
If one or more of those confirm that the wd is the directory containing
|
I tried your 3rd suggestion, "as a last resort, try invoking remote_syslog as a user while in the directory containing ssl/ (with the same arguments is used by the init script)." Still get not found even when running it from within the ssl/ dir within my app simply using the following command: I also tried adding |
I'm out of easy ideas too. I had one question. You mentioned:
Were you in the directory containing |
I've tried it from both |
Okay. If you can get it to spit out the wd, it may well be |
remote_syslog: #<Errno::ENOENT: No such file or directory @ rb_sysopen - ssl/papertrail.crt
I have the papertrail certificate in my application's code and I'm attempting to access it by giving the relative path to the file. I can't give an absolute path, since my deploy directory depends on the environment, application, etc. Anyway, hardcoding paths sucks. I think it has something to do with this comment regarding Daemonize setting the path to /
https://github.com/papertrail/remote_syslog/blob/master/lib/remote_syslog/cli.rb#L171
The text was updated successfully, but these errors were encountered: