diff options
author | James Davidson <james.davidson@vyatta.com> | 2013-01-29 09:50:46 -0800 |
---|---|---|
committer | James Davidson <james.davidson@vyatta.com> | 2013-01-29 09:55:12 -0800 |
commit | a2b2ce86df549560ee4438e92a8663c0a0706b82 (patch) | |
tree | ab51605b700fd99b7366b19575ddd93846c18acf /templates | |
parent | 96dd4d22eec0c9b8fae50f68a310680e579bdf1c (diff) | |
download | vyatta-cfg-system-a2b2ce86df549560ee4438e92a8663c0a0706b82.tar.gz vyatta-cfg-system-a2b2ce86df549560ee4438e92a8663c0a0706b82.zip |
Add ability to restart services when hostname changes
Currently only restart rsyslog but more can be added as needed.
Fixes bug 8237.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/domain-name/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
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 |