Archived
1
0
Fork 0
This repository has been archived on 2024-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/simpleDots/bin/wdavmaild
J. Elfring (i) e2120a56ae wdavmaild
2023-05-22 14:38:16 +02:00

17 lines
433 B
Bash
Executable file

#!/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