Closed gyptazy closed 1 year ago
I was already working on config and log location as I'm preparing a port for FreeBSD and OpenBSD, so I need them to be in the right place. It'll be implemented as soon as I'll have identified and solved the timeout problems
Ok, today I had too many (BSD) coffees. I think I fixed it, should be ok. I had already implemented the code, but followed your PR request for names and configuration options.
Awesome! That was fast! Thanks
General
Currently, the location of the SQL database and the log file are hardcoded. However, users might want to relocate them. Instead of modifying the code this should be easy adjustable for enduser from the config file. Next to it, it might be helpful to pass multiple config files to have different setups running or to use it as a daemon in a multi user setup.
Task(s)
argparse
or similar to pass a config file toNotiMail
[GENERAL]
chapter within the ini config fileLogFileLocation
DataBaseLocation
If you like I can provide a PR for this but it might be by the end of the week.