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:
parent
cd3c156f93
commit
bade2e0ea8
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue