Modifying Python Daemon Script, Stop Does Not Work
I'm trying to modify this example using some input from here as I want only to stop the specific Python app running as a daemon because there will be others as well on the same ser
Solution 1:
You're using single-quotes in your grep expression:
grep'[p]ython $APPARGS'
In single quotes, a variable won't be expanded. You should use double quotes:
grep"[p]ython $APPARGS"
Post a Comment for "Modifying Python Daemon Script, Stop Does Not Work"