mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 05:30:07 -06:00
8 lines
207 B
Bash
Executable File
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
|