Several new features
- cht.sh stack : linux online cheatsheet. Usage : `cheat <command>`. Example for tar : `cheat tar` - ClamAV anti-virus with weekly cronjob to update signatures database - Internal function to add daily cronjobs - Additional comment to detect previous configuration tuning (MariaDB & Redis) - Domain/Subdomain detection based on public domain suffixes list - Increase Nginx & MariaDB systemd open_files limits - Cronjob to update Cloudflare IPs list
This commit is contained in:
11
wo/cli/templates/freshclam.mustache
Normal file
11
wo/cli/templates/freshclam.mustache
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# WordOps ClamAV freshclam script
|
||||
# script path after installation /opt/freshcham.sh
|
||||
|
||||
if [ -x /etc/init.d/clamav-freshclam ]; then
|
||||
{
|
||||
/etc/init.d/clamav-freshclam stop
|
||||
freshclam
|
||||
/etc/init.d/clamav-freshclam start
|
||||
} >> /var/log/wo/clamav.log 2>&1
|
||||
fi
|
||||
Reference in New Issue
Block a user