EHCP-Force-Edition/ehcp/ehcpdaemon_stop.sh
2018-04-02 16:26:17 -06:00

7 lines
285 B
Bash
Executable file

#!/bin/bash
# Stops the EHCP daemon
# Used by systemd
# Moved commands here since systemd character escaping is retarded
ps aux | grep ehcpdaemon2 | awk '{print $2}' | xargs kill -9 > /dev/null 2>&1
ps aux | grep "index.php daemon" | awk '{print $2}' | xargs kill -9 > /dev/null 2>&1