Exporting LD_LIBRARY_PATH when starting collectd as a service. That was needed to resolve rpath issues with collectd's java.so library