From 926f56890aae8a75ea470011b3aba36b82c876a7 Mon Sep 17 00:00:00 2001 From: "Vipul Gupta (@vipulgupta2048)" Date: Fri, 27 Oct 2023 11:20:12 +0530 Subject: [PATCH] patch: Signify behavior when variables change Signed-off-by: Vipul Gupta (@vipulgupta2048) --- pages/learn/manage/variables.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/learn/manage/variables.md b/pages/learn/manage/variables.md index d729f5c9ce..f2cca43a96 100644 --- a/pages/learn/manage/variables.md +++ b/pages/learn/manage/variables.md @@ -11,9 +11,7 @@ Variables defined in the dashboard are exposed on the device as environment vari Accessing variable -__Note:__ Adding or modifying a variable for all services will restart all services on the device. Similarly, changing variables defined only for a specific service will only restart the affected service. - -Variables can be applied at the fleet or the individual device level through the Variables page. You can apply Variables to the entire fleet by navigating to the Variables page for that fleet. +Variables can be applied at the fleet or the individual device level through the Variables page. You can apply Variables to the entire fleet by navigating to the Variables page for that fleet. Adding or modifying a fleet variable for all services will restart all services on the device. Similarly, changing device variables defined only for a specific service will only restart the affected service. Values defined for individual devices always override those defined for the fleet. Values defined for specific services would override variables defined at the same level (Fleet or device level). So for any given variable, the **device service specific variable** will always have the top priority, followed by the **device variable for all services**, then the **fleet service specific variable**, and finally the **fleet variable for all services**. @@ -37,7 +35,7 @@ Define a name and value for your variable. Click the *Add* button to apply the v Add variable -Your new variable will show up in the list, where it can easily be modified or removed: +Your new variable will show up in the list, where it can easily be modified or removed. Adding or modifying fleet variables will trigger restart of all services on the device. List variables @@ -61,6 +59,8 @@ You can override the value of a fleet variable by clicking *override* in the far Add device variable +Changing a variable defined only for a specific service will only restart the affected service. + ## Managing with the CLI & SDK The {{ $names.company.lower }} CLI and SDKs all include methods to easily read, add or update variables. Consult the appropriate reference for code examples.