summaryrefslogtreecommitdiff
path: root/watch
blob: 31ac8fd436ad02dd20f5122d1685d7f385d71948 (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