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

changable PIDFile path #10

Closed
thammi opened this issue Nov 23, 2014 · 1 comment
Closed

changable PIDFile path #10

thammi opened this issue Nov 23, 2014 · 1 comment

Comments

@thammi
Copy link
Member

thammi commented Nov 23, 2014

Issue by Andrwe
Saturday Jan 25, 2014 at 16:23 GMT
Originally opened as palavatv/palava-machine#5


Hi,

it should be possible to specify the path of the PIDFile while running in daemon-mode.

If you run the daemon as non-root-user the path of the daemon-binary has to be writeable for this user otherwise the daemon doesn't start.
This means currently you aren't able to install this application in a default linux FHS because the PIDFile would be created in /usr/bin/.

A quick fix I'm using is to add the following lines to the parameters of "Daemons.run":
dir_mode: :normal,
dir: "/var/run/palava-machine/",

This approach isn't quite portable as the path has to be created by the installation process.

Regards,
Andrwe

@janlelis
Copy link
Member

machine is not part of default palava stack anymore. please use machine repo for issues

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

No branches or pull requests

2 participants