-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
Hardcoded cache and logs dir paths? #44
Comments
Hi @DeviantEng I haven't tested on Centos 7 but I do have it running like you are asking on my Centos 6.6 box at home. Here the cache and log folders are placed in my specified path. I've hardly worked at all with systemd so unfortunately cannot give much insight there, but below are examples of my init script and config for reference, might help out. Here is an example of my config (/etc/sysconfig/plexpy):
And here is my init script (/etc/init.d/plexpy):
Here is my directory listing to show the folder locations:
|
Very interesting. Not sure what my issue is then, but I just re-installed in /opt and it's working fine. So another question, is there a way that I can get the History list outputed to a text file? |
There isn't currently a way to do that. |
I'm closing this as your issue has been resolved. |
Hello.
I recently came across plexpy, and decided to test it out. I'm especially interested sine it's based on Headphones (I run HP, SAB, SickRage, CP) since I should be able to slap in plexpy next to those other apps, and it be an easy setup. Going through your install, you say to install to
/opt
which works fine, but I don't like doing that. Essentially, I'm trying to run it on CentOS 7 like this:/usr/bin/python /apps/plexpy/PlexPy.py --daemon --datadir /apps/data/.plexpy --config /apps/data/.plexpy/plexpy_config.ini --nolaunch --quiet
(That's the ExecStart from my systemd file)
And since I'm running that as
plexpy:plexpy
, it's failing to start. Why? Because it can't create/opt/plexpy{cache,logs}
. If I change my systemd file to run asroot:root
, it runs. Why? Because root can create those directories in/opt
.Headphones, by default, will put those cache and logs directories, within the data directory. Why doesn't PlexPy?
FWIW, here is a link to my blog post where I document my setup of SAB/SickRage/CouchPotatoServer/Headphones, so you can get a better understanding of how I want to setup PlexPy.
http://deviantengineer.com/2015/06/usenet-centos7/
Thanks!
The text was updated successfully, but these errors were encountered: