systemctl_service_uninstall.sh 197 B

1234567
  1. #!/bin/sh
  2. SERVICEFILE=/etc/systemd/system/modbuslog.service
  3. sudo systemctl stop modbuslog.service
  4. sudo systemctl disable modbuslog.service
  5. sudo rm $SERVICEFILE
  6. sudo systemctl daemon-reload