How do I show the environment variables of a systemd unit?
If your service is running, you can use systemctl status <name>.service
to identify the PID(s) of the service process(es), and then use sudo strings /proc/<PID>/environ
to look at the actual environment of the process.