/usr/share/dvcs-autosync/autosync-xdg-launcher.sh is in dvcs-autosync 0.5+nmu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/bash
# This simple script will start autosync.py daemons for all configs found in $XDG_CONF_HOME/autosync/,
# stopping any existing daemons with that config first.
conf=${XDG_CONF_HOME:-$HOME/.config}/autosync
data=${XDG_DATA_HOME:-$HOME/.local/share}/autosync
mkdir -p $data/log
for i in $conf/*
do
pkill -f "python.*dvcs-autosync .*autosync/$(basename $i)"
dvcs-autosync $i &> $data/log/$(basename $i).$(date '+%F-%T').log &
done
|