Systemd fixes

Systemd will now set the proper environment variable so settings files dont need to be changed. If the service starts with systemd it should run regardless of settings file now.

**NOTE** this runs in nodaemon so journald can handle the logging without any internals change (eg adding lager_syslog).