Subversion Repositories ALCASAR

Rev

Rev 2088 | Rev 2114 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2088 Rev 2111
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2088 2016-12-12 06:57:16Z raphael.pion $ 
2
#  $Id: alcasar.sh 2111 2017-01-08 17:42:44Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 1758... Line 1758...
1758
# activate the daemon-watchdog every 18'
1758
# activate the daemon-watchdog every 18'
1759
*/18 * * * * root $DIR_DEST_BIN/alcasar-daemon.sh > /dev/null 2>&1
1759
*/18 * * * * root $DIR_DEST_BIN/alcasar-daemon.sh > /dev/null 2>&1
1760
EOF
1760
EOF
1761
 
1761
 
1762
# Enabling category update from rsync
1762
# Enabling category update from rsync
1763
	cat << EOF > /etc/cron.d/alcasar-rsync_bl
1763
	cat << EOF > /etc/cron.d/alcasar-rsync-bl
1764
# Automatic update of BL via rsync every 12 hours. The categories are listed in the file '/usr/local/etc/update_cat.conf' (no sync if empty). 
1764
# Automatic update of BL via rsync every 12 hours. The categories are listed in the file '/usr/local/etc/update_cat.conf' (no sync if empty). 
1765
0 */12 * * * root $DIR_DEST_BIN/alcasar-bl.sh --update_cat > /dev/null 2>&1
1765
0 */12 * * * root $DIR_DEST_BIN/alcasar-bl.sh --update_cat > /dev/null 2>&1
1766
EOF
1766
EOF
1767
 
1767
 
1768
# removing the users crons
1768
# removing the users crons