Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

SquidGuard update command #81

Closed
edno opened this issue Feb 21, 2019 · 1 comment
Closed

SquidGuard update command #81

edno opened this issue Feb 21, 2019 · 1 comment

Comments

@edno
Copy link
Owner

edno commented Feb 21, 2019

Create new CLI command that trigger SquidGuard update at once :

cd /var/www/kleis 
php artisan export:accounts 
php artisan export:categories
php artisan export:groups
php artisan export:whitelist 
cp /var/www/kleis/storage/app/export/accounts/accounts.txt /etc/squid3/passwords 
cp /var/www/kleis/storage/app/export/categories/*.txt /var/lib/squidguard/db/
cp /var/www/kleis/storage/app/export/proxylists/*.txt /var/lib/squidguard/db/
squidGuard -C all
/usr/sbin/service squid3 restart
@edno
Copy link
Owner Author

edno commented Mar 10, 2019

Cancelled for #82

@edno edno closed this as completed Mar 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant