[Ubuntu] Add or remove a systemctl (systemd) service

An example to add or remove a service on system with systemd

Add

Remove

replace with real name, without space

systemctl stop <service_name>
systemctl disable <service_name>
rm /lib/systemd/system/<service_name>.service
systemctl daemon-reload
systemctl reset-failed
Tags:
#linux #systemd #systemctl