Files
webgui/plugins/dynamix/event/array_started/diskload_start
2018-05-30 07:12:22 +02:00

8 lines
207 B
Bash
Executable File

#!/bin/bash
# daemonize the 'diskload' script
DAEMON="/usr/local/emhttp/webGui/scripts/diskload"
if [[ "$(pgrep -f $DAEMON)" == "" ]]; then
logger "Starting $(basename $DAEMON)"
$DAEMON &>/dev/null &
fi