Greeting,
what is the way I could kill python script that raises on reboot or restart, (Raspbian Jessie)?
Startup goes to location /home/pi/.config/autostart and over myPiAutostart.desktop script opens python script.
The desktop file contains:
[Desktop Entry]
Type = Application
Name = MyPiAutostart
Exec = sudo python2 /home/pi/myPiConfig/checkGPIOstatus.py
StartupNotify = false
Name [hr_HR] = MyPiAutostart
I tried starting in the background with & symbol: Exec = sudo python2 /home/pi/myPiConfig/checkGPIOstatus.py &
How can I kill a script that is active in the background if I have a need sometimes to kill?
I cant even know PID for killing, task manager does not show my script in back processes...
Thanx in advance,
Faramon