wdavmaild
This commit is contained in:
parent
de5b6bcb6e
commit
e2120a56ae
1 changed files with 17 additions and 0 deletions
17
simpleDots/bin/wdavmaild
Executable file
17
simpleDots/bin/wdavmaild
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
Reference in a new issue