1
0
Fork 0
dotfiles2000/dotfiles/my-binaries/dot-bin/wdavmaild

18 lines
433 B
Text
Raw Normal View History

2024-10-31 22:09:39 +01:00
#!/bin/bash
############################################################################
##
# wddavmaild
#
#
#
## Check for a tmux session with docker fo:wqr root is already running
if tmux has-session -t wdavmaild
then
echo "A wdavmaild session is already running. Attaching."
tmux attach -t wdavmaild
else
echo "Starting a new wdavmaild tmux-session."
tmux new-session -d -s wdavmaild davmail ~/.local/etc/davmail.conf
fi