title: How to fix environment variables not working while running from system-d service in Go
body: <p>I am using <code>os.Getenv("APP_PATH")</code> to read from the system environment variables and it works fine when running the build of the application normally. But I need to run this Go program as a service which I have done using systemd in which case it cannot read the environment variables. Is there any way of resolving this?</p>