12 lines
202 B
Bash
12 lines
202 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# [1] Remove service target (boot)
|
||
|
sudo rm /usr/sbin/sgca;
|
||
|
|
||
|
# [2] Disable service
|
||
|
sudo systemctl disable sgca.service;
|
||
|
|
||
|
# [3] Remove service unit
|
||
|
sudo rm /lib/systemd/system/sgca.service;
|
||
|
|