mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Pass arguments to seaf-gc
This will allow users to run seaf-gc with parameters like ``-D`` or ``-r``
This commit is contained in:
parent
bce6d85c2e
commit
0e865b8900
|
@ -18,7 +18,7 @@ fi
|
||||||
# Do it
|
# Do it
|
||||||
(
|
(
|
||||||
set +e
|
set +e
|
||||||
$SEAFILE_DIR/seaf-gc.sh | tee -a /var/log/gc.log
|
$SEAFILE_DIR/seaf-gc.sh "$@" | tee -a /var/log/gc.log
|
||||||
# We want to presevent the exit code of seaf-gc.sh
|
# We want to presevent the exit code of seaf-gc.sh
|
||||||
exit "${PIPESTATUS[0]}"
|
exit "${PIPESTATUS[0]}"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue