draga79 / NotiMail

Server-side email notification manager using several push providers for real-time alerts. Conserve mobile battery without compromising on immediacy.
BSD 3-Clause "New" or "Revised" License
21 stars 1 forks source link

`Config`: Location of SQL DB and log file should be definable #5

Closed gyptazy closed 1 year ago

gyptazy commented 1 year ago

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)

If you like I can provide a PR for this but it might be by the end of the week.

draga79 commented 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

draga79 commented 1 year ago

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.

gyptazy commented 1 year ago

Awesome! That was fast! Thanks