4 lines
130 B
Bash

#!/bin/bash
cd /opt/cap/fms-gps
kill -9 `cat /opt/cap/fms-gps/fms-gps/RUNNING_PID` && rm /opt/cap/fms-gps/fms-gps/RUNNING_PID.pid