mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Do not display a huge wall of boring logs while waiting for the service to start
This commit is contained in:
parent
4d494c7e7c
commit
c979d1e640
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,7 @@ ynh_systemd_action() {
|
|||
# Start the timeout and try to find line_match
|
||||
if [[ -n "${line_match:-}" ]]
|
||||
then
|
||||
set +x
|
||||
local i=0
|
||||
for i in $(seq 1 $timeout)
|
||||
do
|
||||
|
@ -176,6 +177,7 @@ ynh_systemd_action() {
|
|||
fi
|
||||
sleep 1
|
||||
done
|
||||
set -x
|
||||
if [ $i -ge 3 ]; then
|
||||
echo "" >&2
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue