wiki'd

by JoKeru

Triggering Commands On File/Directory Changes

[cc lang='bash']
\$ apt-get install incron

\$ echo 'root' > /etc/incron.allow
\$ incrontab -e \<- add "/etc/apache2/sites-enabled/ IN_MODIFY /etc/init.d/apache2 reload"
\$ /etc/init.d/incrond start
[/cc]

Comments