use params for service dir
use dbl-quotes for proper expansion
extend to support logd and mgmtd
extend to support logd and mgmtd
paramaterize the service