summaryrefslogtreecommitdiffstatshomepage
path: root/mbsync
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-10-12 13:31:24 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-10-12 13:31:39 -0500
commitcc7eb8128c436931130418fec216f2add3e40091 (patch)
tree9868c07ae078816257da7918f4440eec007daa61 /mbsync
parent689be57af1fcdd807c48efecf45fa5ca54facaa2 (diff)
fix(nvim): improve install scripts output
Diffstat (limited to 'mbsync')
-rwxr-xr-xmbsync/install.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/mbsync/install.sh b/mbsync/install.sh
index 63eabbb..7433fea 100755
--- a/mbsync/install.sh
+++ b/mbsync/install.sh
@@ -1,17 +1,19 @@
#!/bin/sh
+printf "%s: Installing services\n" "$0"
+
if command -v mbsync >/dev/null; then
- systemctl --user enable --now mbsync.service
- systemctl --user enable --now maildir-notify@gmail.service
- systemctl --user enable --now maildir-notify@porkbun.service
+ systemctl --user enable --now --no-block mbsync.service
+ systemctl --user enable --now --no-block maildir-notify@gmail.service
+ systemctl --user enable --now --no-block maildir-notify@porkbun.service
else
printf "%s: command not found: mbsync\n" "$0"
exit 1
fi
if command -v goimapnotify >/dev/null; then
- systemctl --user enable --now goimapnotify@gmail.service
- systemctl --user enable --now goimapnotify@porkbun.service
+ systemctl --user enable --now --no-block goimapnotify@gmail.service
+ systemctl --user enable --now --no-block goimapnotify@porkbun.service
else
printf "%s: command not found: goimapnotify\n" "$0"
exit 1