#!/bin/bash # [1] Remove service target (boot) sudo rm /usr/sbin/sgca; # [2] Disable service sudo systemctl stop sgca.service; sudo systemctl disable sgca.service; # [3] Remove service unit sudo rm /lib/systemd/system/sgca.service; # [4] Remove log file sudo rm /var/log/sgca;