Closed Robnex closed 2 years ago
hey,
your could create a stop script like this one:
#!/bin/bash echo "kill process" kill $(ps -ef | grep "python3 main.py" | grep -v grep | awk -F" " '{print $2}') echo "" echo "Show active python process" ps -ef | grep "python3 main.py" | grep -v grep | awk -F" " '{print $2}'
The current systemd service implementation doesn't need any start script.
So closed because not needed anymore.
hey,
your could create a stop script like this one: