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
1 changed files with 1 additions and 0 deletions

View File

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