theonionbox
theonionbox copied to clipboard
Command line parameters needed in service file
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.
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.