Add a name, and do not spam root@ uselessly
This commit is contained in:
parent
4933755ec1
commit
4b24541160
4 changed files with 4 additions and 2 deletions
|
@ -2,5 +2,5 @@
|
|||
set -e
|
||||
|
||||
cd /srv/badges_checkout/
|
||||
git pull
|
||||
git pull >/dev/null 2>&1
|
||||
( rsync --delete -ar --itemize-changes /srv/badges_checkout/rules/ /usr/share/badges/rules/ | grep -q '^>f' ) && service fedmsg-hub restart
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
|
||||
- name: add cron for update
|
||||
cron:
|
||||
name: "update checkout"
|
||||
job: /usr/local/bin/update_checkout.sh
|
||||
minute: "*/15"
|
||||
tags:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
cd /srv/badges_checkout/
|
||||
git pull
|
||||
git pull >/dev/null 2>&1
|
||||
for i in pngs stls ; do
|
||||
rsync --delete -ar /srv/badges_checkout/$i/ /usr/share/badges/$i/
|
||||
done
|
||||
|
|
|
@ -130,6 +130,7 @@
|
|||
|
||||
- name: add cron for update
|
||||
cron:
|
||||
name: "update checkout"
|
||||
job: /usr/local/bin/update_checkout.sh
|
||||
minute: "*/15"
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue