summary refs log tree commit diff
path: root/os/etc/cron.daily/rbw-sync
blob: f386f4219428e9288d6f3b861d9555d9c4727469 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
set -e
/etc/s6-rc/runas -- sh -s <<-EOF
	id=\$(notify-send -i \$(iconez -sn server-security) "rbw" "<i>syncing database</i>" -pt 0)
	trap '{ clear-notification \$id; }' EXIT
	rbw sync
EOF