Changes

From SME Server
Jump to navigationJump to search
Line 64: Line 64:     
  templates2events("/etc/some/file", "event1", "event2", ...);
 
  templates2events("/etc/some/file", "event1", "event2", ...);
 +
 +
eg :
 +
 +
foreach my $event (qw(share-create share-modify share-delete share-modify-servers)){
 +
  templates2events("/etc/samba/smb.conf", $event);
 +
  templates2events("/etc/httpd/conf/httpd.conf", $event);
 +
  templates2events("/etc/rsyncd.conf", $event);
 +
  templates2events("/etc/proftpd.conf", $event);
 +
}
 +
or more simply
 +
 +
    templates2events("/opt/roundcube/config/db.inc.php", console-save);
    
==== AUTHOR ====
 
==== AUTHOR ====

Navigation menu