DESHABILITACION/ELIMINACION SERVICIO EN LINUX


service [nombre_del_servicio] stop

systemctl disable [nombre_del_servicio]

rm -f /etc/systemd/system/[servicename]

rm -f /etc/systemd/system/[servicename] # and symlinks that might be related

rm -f /usr/lib/systemd/system/[servicename]

rm -f /usr/lib/systemd/system/[servicename] # and symlinks that might be related

systemctl daemon-reload

systemctl reset-failed

rm -f /etc/cron.d/restart-sutran-agent /etc/cron.d/watchdog-sutran /usr/local/watchdog-sutran.sh /usr/local/restart-sutran-agent.sh /root/log_sutran