system, shorten the runit success sleep.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
echo "FINISH: Service returned with exit code: $1 and status: $2"
|
||||
|
||||
sleep_long=30
|
||||
sleep_short=5
|
||||
sleep_short=1
|
||||
if [[ "$1" != 0 ]]; then
|
||||
echo "FINISH: Sleeping for $sleep_long seconds due to error..."
|
||||
sleep $sleep_long
|
||||
|
||||
Reference in New Issue
Block a user