Files
webgui/plugins/dynamix/event/stopping_array/diskload_stop
Tom Mortensen e7cee3ca1c Use php curl library calls to access emthtpd via socket.
Connect emhttpd events to websocket publisher endpoints.
2017-05-22 14:07:21 -07:00

8 lines
140 B
Bash
Executable File

#!/bin/bash
# stop diskload daemon
DAEMON="diskload"
if [[ "$(pgrep $DAEMON)" != "" ]]; then
logger "Stopping $DAEMON"
pkill $DAEMON
fi