sysdis-project/sgca/install/uninstall.sh

16 lines
282 B
Bash
Raw Normal View History

2017-04-06 18:08:45 +00:00
#!/bin/bash
# [1] Remove service target (boot)
sudo rm /usr/sbin/sgca;
# [2] Disable service
sudo systemctl stop sgca.service;
2017-04-06 18:08:45 +00:00
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;