Fix(Choux): Remove lafrite alert on backup

This commit is contained in:
Bertrand Benjamin 2018-10-08 10:43:34 +02:00
parent 9004901b4e
commit de691e7859

View File

@ -14,7 +14,7 @@ set -e
ts_log() ts_log()
{ {
echo `date '+%Y-%m-%d %H:%m:%S'` $1 >> ${LOG_PATH} echo `date '+%Y-%m-%d %H:%m:%S'` $1 >> ${LOG_PATH}
su {{ me[0].username }} -c "DISPLAY=:0 notify-send 'Borgbackup' '`date '+%Y-%m-%d %H:%m:%S'`' $1" # su {{ me[0].username }} -c "DISPLAY=:0 notify-send 'Borgbackup' '`date '+%Y-%m-%d %H:%m:%S'`' $1"
# su lafrite -c "DISPLAY=:0 notify-send 'Borgbackup' '`date '+%Y-%m-%d %H:%m:%S'` $1'" # su lafrite -c "DISPLAY=:0 notify-send 'Borgbackup' '`date '+%Y-%m-%d %H:%m:%S'` $1'"
} }