Squid (rc.squid)
Iniciando o Squid no boot
Categoria: Networking
Software: Squid
[ Hits: 7.259 ]
Por: Eliseu Ribeiro Cherene Viana
Iniciando o Squid no boot para não precisar inicia-lo manualmente toda vez que você reiniciar o servidor.
#!/bin/sh # Start/stop/restart squid. # Start squid: squid_start() { if [ -x /etc/squid/sbin/squid ]; then echo "Starting SQUID..." /etc/squid/squid -D fi } # Stop squid: squid_stop() { killall squid } # Restart squid: squid_restart() { squid_stop sleep 1 squid_start } case "$1" in 'start') squid_start ;; 'stop') squid_stop ;; 'restart') squid_restart ;; *) echo "usage $0 start|stop|restart" esac
Como aprovar Pull Requests em seu repositório Github via linha de comando
Como gerar um podcast a partir de um livro em PDF
Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Como Definir o Painel Principal em Múltiplos Monitores no Linux Mint
Minecraft Launcher para Arch Linux
Instalar o Apache, MySQL e PHP no Oracle Linux 8
Resolvendo o erro "libQt6Widgets.so.6: cannot open shared object file" no Linux
Como bloquear e desbloquear papel de parede no Ubuntu 24.04 (0)
Mouse bluetooth no Debian 12.10. (0)
tentando instalar em um notebook antigo o Linux LegacyOS_2023... (2)