aboutsummaryrefslogtreecommitdiff
path: root/utils/systemd/wait-services.sh
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-29 02:25:18 +0800
committerKunoiSayami <[email protected]>2022-10-29 02:25:18 +0800
commitbefbf3b43fab184d5014cc51fcc6c3c1f0a4cd53 (patch)
treec99e9fab7ad17e1d01ceb93f54d3ec537baca936 /utils/systemd/wait-services.sh
parent0e7527d3e1555fb7507dc3b5a8ef0f2d8c7f8160 (diff)
feat(script): Optimize build fail output
feat(script): Add update-repo-copy.service Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils/systemd/wait-services.sh')
-rwxr-xr-xutils/systemd/wait-services.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/systemd/wait-services.sh b/utils/systemd/wait-services.sh
new file mode 100755
index 0000000..be20239
--- /dev/null
+++ b/utils/systemd/wait-services.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+echo "Checking is service running"
+while /usr/bin/systemctl status --no-page | grep update-repo@ | grep -v grep;
+do
+ sleep 1
+done \ No newline at end of file