Open antimatter84 opened 6 years ago
Indeed, systemd/insaned.service is not using these variables.
And it seems you can't change the user/group in insaned.service either; if you try, the service does not start anymore. So seemingly there is no way to send emails from the accounts of the current user via thunderbird or evolution since they are started by root. Is there a solution for this?
The only workaround I found so far is to add insaned manually to autostart, not using the systemd-version.
EDIT: I found a way, I posted my solution here: [https://github.com/coaxial/insaned-config/issues/7]
system Ubuntu 18.04
The environments file says:
but they are not.
I have set INSANED_USER and INSANED_GROUP as above and I have a dummy event handler "copy" in place and it only contains this for testing:
When pressing the copy button at the scanner the log file contains:
Shouldn't this be "andreas"? I looked through the code but it does not seem, that INSANED_USER or INSANED_GROUP is picked up anywhere.
System: Linux Mint 19 Cinnamon