From 0fc8fd2d2dcbe8442d9b787e53065b288768a029 Mon Sep 17 00:00:00 2001 From: = Date: Sun, 27 Dec 2020 12:42:33 +0100 Subject: [PATCH] restart salt-minion when beacon changes --- k3s/usb-devices.sls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/k3s/usb-devices.sls b/k3s/usb-devices.sls index 2457f4d..569bef5 100644 --- a/k3s/usb-devices.sls +++ b/k3s/usb-devices.sls @@ -47,3 +47,9 @@ reload udev rules: - file: Add the rfxcom udev rule - file: Add the zwave udev rule - file: Add the zigbee udev rule + +restart salt-minon: + service.started: + - name: salt-minion + onchanges: + - file: Add the rfxcom433 beacon file