configuration/services/vdirsyncer/run
Felix Van der Jeugt 9494940069
add sigasi calendar
2022-07-12 11:24:01 +02:00

17 lines
271 B
Bash
Executable File

#!/bin/sh
export USER="$(whoami)"
export HOME=/home/"$USER"
export DISPLAY=":0"
set -e
# check for internet connection
ip route ls | grep -q '.'
# check if the gpg-agent is running
pgrep gpg-agent > /dev/null
torsocks vdirsyncer -v CRITICAL sync 2>&1
exec sleep 10m