Changes

Jump to navigation Jump to search
37 bytes added ,  22:26, 9 April 2014
no edit summary
Line 557: Line 557:     
==SME Server specific==
 
==SME Server specific==
 
+
=== Command Line===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 590: Line 590:  
| /etc/e-smith/events/actions/initialize-default-databases|| action for initializing the default database values
 
| /etc/e-smith/events/actions/initialize-default-databases|| action for initializing the default database values
 
|}
 
|}
 +
===Refresh DNS cache===
 +
 +
signal-event dns-update
 +
 +
refreshes the DNS cache, useful for when you know a domain has changed IP and the TTL is too long to wait
 +
 +
===Refresh Squid Cache===
 +
Extracted from: http://forums.contribs.org/index.php?topic=38848.msg176737#msg176737
 +
 +
===Flush and Restart===
 +
 +
sv d /service/squid
 +
echo "" > /var/spool/squid/swap.state
 +
sv u /service/squid
    +
& to check it's running
 +
sv s /service/squid
 
===db command===
 
===db command===
 
{{note box|SME Server comes with the most used parameters set as variables in its internal configuration databases. These variables are used to store values to be used in the final configuration files. Please, read the [[SME_Server:Documentation:Developers_Manual:Section2]] to understand the template and database process.}}
 
{{note box|SME Server comes with the most used parameters set as variables in its internal configuration databases. These variables are used to store values to be used in the final configuration files. Please, read the [[SME_Server:Documentation:Developers_Manual:Section2]] to understand the template and database process.}}
Line 704: Line 720:  
Effectuate the changes you have made
 
Effectuate the changes you have made
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
  −
==DNS cache==
  −
  −
signal-event dns-update
  −
  −
refreshes the DNS cache, useful for when you know a domain has changed IP and the TTL is too long to wait
  −
  −
==Squid Cache==
  −
Extracted from: http://forums.contribs.org/index.php?topic=38848.msg176737#msg176737
  −
  −
===Flush and Restart===
  −
  −
sv d /service/squid
  −
echo "" > /var/spool/squid/swap.state
  −
sv u /service/squid
  −
  −
& to check it's running
  −
sv s /service/squid
      
== SSH ==
 
== SSH ==

Navigation menu