ralphwetzel / theonionbox

Dashboard to monitor Tor node operations
MIT License
122 stars 17 forks source link

Command line parameters needed in service file #44

Open fsantiago07044 opened 6 years ago

fsantiago07044 commented 6 years ago

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 commented 6 years ago

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.