From a2b2ce86df549560ee4438e92a8663c0a0706b82 Mon Sep 17 00:00:00 2001 From: James Davidson Date: Tue, 29 Jan 2013 09:50:46 -0800 Subject: Add ability to restart services when hostname changes Currently only restart rsyslog but more can be added as needed. Fixes bug 8237. --- templates/system/domain-name/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/system/domain-name/node.def b/templates/system/domain-name/node.def index 429fd47f..5ea44f32 100644 --- a/templates/system/domain-name/node.def +++ b/templates/system/domain-name/node.def @@ -6,7 +6,7 @@ help: System domain name syntax:expression: exec "/opt/vyatta/sbin/vyatta_check_domainname.pl $VAR(../host-name).$VAR(@)" update: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl - sudo /opt/vyatta/sbin/vyatta_update_hosts.pl + sudo /opt/vyatta/sbin/vyatta_update_hosts.pl --no-restart-services delete: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl - sudo /opt/vyatta/sbin/vyatta_update_hosts.pl \ No newline at end of file + sudo /opt/vyatta/sbin/vyatta_update_hosts.pl --no-restart-servces \ No newline at end of file -- cgit v1.2.3