[bin] Fix mail sync scripts

This commit is contained in:
2022-10-26 10:40:00 -04:00
parent f9ca961f1b
commit d7ae82cb1a
2 changed files with 20 additions and 6 deletions

View File

@ -1,2 +1,8 @@
#!/bin/sh
muchsync muchsync1.local
#!/bin/bash
if [ $(pidof muchsync) ]; then
echo "Checkmail is already running."
else
echo "Checking for new mail"
muchsync muchsync1.local
fi