summaryrefslogtreecommitdiff
path: root/watch
blob: 4c020a9162104cb39ba62b11208ffd594c962cd3 (plain)
1
2
3
4
5
6
#!/bin/sh
while inotifywait -qq -r ./ -e create,delete,modify; do
    update
    #rsync -a --exclude='.git/' --exclude='watch' --exclude='generate-digest.rb' --exclude='.gitignore' --exclude='TODO' --filter=":- .gitignore" ./ /srv/social/
    sudo systemctl restart social.service
done