system, shorten the runit error sleep.
This commit is contained in:
1 parent
a823d4ae63
commit
36b8305f0f
1 file changed
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
# $1 is the exit code, $2 is the exit status byte (signal number if killed)
|
# $1 is the exit code, $2 is the exit status byte (signal number if killed)
|
||||||
echo "FINISH: Service returned with exit code: $1 and status: $2"
|
echo "FINISH: Service returned with exit code: $1 and status: $2"
|
||||||
|
|
||||||
sleep_long=30
|
sleep_long=10
|
||||||
sleep_short=1
|
sleep_short=1
|
||||||
if [[ "$1" != 0 ]]; then
|
if [[ "$1" != 0 ]]; then
|
||||||
echo "FINISH: Sleeping for $sleep_long seconds due to error..."
|
echo "FINISH: Sleeping for $sleep_long seconds due to error..."
|
||||||
|
|||||||
Reference in new issue
Block a user