Add create event watch for fim ; fim doesn't auto-update the file list so we need to do this ourselves when it happens

This commit is contained in:
KemoNine 2020-08-03 17:24:52 +00:00
parent cd3c156f93
commit bade2e0ea8

View file

@ -211,6 +211,7 @@ systemctl enable --now fim
apt install incron apt install incron
cat > /etc/incron.d/fim <<EOF cat > /etc/incron.d/fim <<EOF
/tank/pictures IN_DELETE systemctl restart fim /tank/pictures IN_DELETE systemctl restart fim
/tank/pictures IN_CREATE systemctl restart fim
EOF EOF
systemctl enable --now incron systemctl enable --now incron
systemctl restart incron systemctl restart incron