Soshot/bin/stop.sh
2016-12-12 15:27:29 +01:00

4 lines
229 B
Bash

#!/bin/bash
kill -TERM $(ps ax | grep -v grep | grep thumb_server.sh | awk '{print $1}')
kill -TERM $(ps ax | grep -v grep | grep phantomjs | awk '{print $1}')
kill -TERM $(ps ax | grep -v grep | grep optipng | awk '{print $1}')