# Change this directory as appropriate for your environment. Core files
# will be written to this directory. Thus, you should pick a partition with
# sufficient free space.
SM_SERVICE_STARTDIR=/
So if you wanted to have core files written to /var, you would set the value as below.
SM_SERVICE_STARTDIR=/var.
You will need to restart all of your running InCharge processes, including sm_serviced in order for this change to take affect.
NOTE: Please be sure that sm_serviced is the last process to be shutdown and the first to be restarted so that your sm_serviced.db will have the correct information about all processes started up after the change was made.
./ic-servced stop
./ic-serviced start