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

Command line parameters needed in service file #44

Open
fsantiago07044 opened this issue Feb 18, 2018 · 1 comment
Open

Command line parameters needed in service file #44

fsantiago07044 opened this issue Feb 18, 2018 · 1 comment

Comments

@fsantiago07044
Copy link

On fedora 27, the systemd service refused to recognize the presence of a config file without the command line parameter on the execstart line. Fyi.

@ralphwetzel
Copy link
Owner

Where do you expect your box to find the config file?
On my test system (which yet is not fedora), the presence of a config file is checked as stated in the ReadMe:

Feb 18 15:07:39 [...]: No configuration file found at '/home/pi/theonionbox/lib/python2.7/site-packages/theonionbox/theonionbox.cfg'
Feb 18 15:07:39 [...]: No configuration file found at '/home/pi/theonionbox/lib/python2.7/site-packages/theonionbox/config/theonionbox.cfg'

Be aware, that when starting the box as a daemon, you're no longer within the Virtual Environment; therefore the first location will not ( = cannot) be checked - as explained. If you stored your config file there - then you're right: You have to provide the path as command line parameter.

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