configuration/services/vdirsyncer/vdirsyncer
2019-10-29 19:40:41 +01:00

12 lines
186 B
Bash
Executable File

#!/bin/sh -e
# check for internet connection
ip route ls | grep -q '.'
# check if the gpg-agent is running
pgrep gpg-agent > /dev/null
vdirsyncer -v WARNING sync 2>&1
exec sleep 10m