e.g. to set env variable LD_PRELOAD to "libumem.so" for the cron service
# svccfg -s system/cron:default setenv LD_PRELOAD libumem.so