Sorry. I did not fully get what you are saying.
Is it something like,
you want to find a service which is running and send a kill signal to the process.?
In that case you can use "pidof" to find the pid of the process and kill it
Code:
/sbin/pidof PROCESS_NAME