From 8a4f104c2156afb3856ae0c82cc0006679a4ef3d Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 1 Apr 2009 15:09:29 -0700 Subject: Add more service priorities so one service can fail without affecting others. --- lib/Vyatta/ConfigLoad.pm | 6 ++++++ templates/priority | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm index a054314..5769320 100755 --- a/lib/Vyatta/ConfigLoad.pm +++ b/lib/Vyatta/ConfigLoad.pm @@ -51,6 +51,12 @@ my %config_rank = ( 'protocols static' => 850, 'service ssh' => 840, 'service telnet' => 830, + 'service webproxy' => 828, + 'service http' => 827, + 'service dhcp-relay' => 826, + 'service dhcp-server' => 825, + 'service dns' => 824, + 'service nat' => 823, 'policy' => 820, 'protocols bgp' => 790, 'vpn' => 600, diff --git a/templates/priority b/templates/priority index d8cb01b..1a3a2d9 100644 --- a/templates/priority +++ b/templates/priority @@ -212,5 +212,14 @@ 900 test-definition 900 content-inspection 900 load-balancing -900 service 900 protocols +900 service +910 service dhcp-relay +911 service dhcp-server +912 service dns +913 service https +914 service nat +915 service ssh +916 service telnet +917 service webproxy + -- cgit v1.2.3