#!/bin/bash # (1) disable /opt/ws.server/ndli1718.jar sudo systemctl disable ws.server@ndli1718.service; # (2) Remove the service from systemd sudo rm /lib/systemd/system/ws.server@.service; # (3) Reload systemctl sudo systemctl daemon-reload;