How to deregister a service in linux through shell script -


can please tell me how can deregister service once uninstall application?

this service registered part of installation of application.

this script used register service:

if [ -f /etc/rc.d/init.d/functions ]       . /etc/rc.d/init.d/functions   fi   daemon --user=$owner sh .startscript.sh service true & 

thanks in advance.

it may depend upon actual linux distributions. many of them using (or switching to) systemd

if still use sysvinit based linux, consider copying /etc/init.d/skeleton /etc/init.d/yourservice edit /etc/init.d/yourservice script. add appropriate symlinks (e.g. /etc/rc2.d/ etc...).


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -