Move .local/bin to .bin

This commit is contained in:
Tobias Reisinger 2022-04-08 15:04:35 +02:00
parent b8dd204681
commit 76f407954f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
16 changed files with 58 additions and 38 deletions

15
.bin/wait-for-service Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env sh
user=""
target="$1"
if [ "$1" = "--user" ]; then
user="--user"
target="$2"
fi
until systemctl $user is-active --quiet "$target"
do
sleep 0.5
done