I have a systemd service that runs a python script which requires an environment variable that I have defined through resin. When I run the script from the command line, it runs absolutely fine. Yet when run through a service, the script fails. From what I have read systemd services are not able to access environment variables, is there a way around this?
Awesome this works perfectly.