Adjust incron tabs lightly
This commit is contained in:
parent
526b3fbc6c
commit
832dd47f82
|
@ -14,8 +14,8 @@ The below commands will setup ```fim``` as a slideshow on your display.
|
||||||
|
|
||||||
useradd -m -G video -s /usr/sbin/nologin fim
|
useradd -m -G video -s /usr/sbin/nologin fim
|
||||||
apt install acl
|
apt install acl
|
||||||
setfacl -m "u:fim:rX" /tank/pictures
|
setfacl -m "u:fim:rwX" /tank/pictures
|
||||||
setfacl -dm "u:fim:rX" /tank/pictures
|
setfacl -dm "u:fim:rwX" /tank/pictures
|
||||||
apt install fim imagemagick ttf-dejavu
|
apt install fim imagemagick ttf-dejavu
|
||||||
cat > /home/fim/.fimrc <<EOF
|
cat > /home/fim/.fimrc <<EOF
|
||||||
# Tweak left of status bar to show filename and taken date/time only
|
# Tweak left of status bar to show filename and taken date/time only
|
||||||
|
@ -209,8 +209,10 @@ systemctl daemon-reload
|
||||||
systemctl enable --now no-cursor-tty1
|
systemctl enable --now no-cursor-tty1
|
||||||
systemctl enable --now fim
|
systemctl enable --now fim
|
||||||
apt install incron
|
apt install incron
|
||||||
cat > /etc/incron.d/fim <<EOF
|
cat > /etc/incron.d/fim-delete <<EOF
|
||||||
/tank/pictures IN_DELETE systemctl restart fim
|
/tank/pictures IN_DELETE systemctl restart fim
|
||||||
|
EOF
|
||||||
|
cat > /etc/incron.d/fim-create <<EOF
|
||||||
/tank/pictures IN_CREATE systemctl restart fim
|
/tank/pictures IN_CREATE systemctl restart fim
|
||||||
EOF
|
EOF
|
||||||
systemctl enable --now incron
|
systemctl enable --now incron
|
||||||
|
|
Loading…
Reference in a new issue