summaryrefslogtreecommitdiff
path: root/debian/vyos-1x.postinst
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-08 14:27:03 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-16 22:24:50 +0100
commit9f42616aa1771ef3369071f175aa26742eab5d06 (patch)
tree9940f0335748a9d3fe603beb27e63bd9de570d44 /debian/vyos-1x.postinst
parent13baad691410009d1e5f7e6f6bf5afe72afd2f73 (diff)
downloadvyos-1x-9f42616aa1771ef3369071f175aa26742eab5d06.tar.gz
vyos-1x-9f42616aa1771ef3369071f175aa26742eab5d06.zip
Debian: T6746: restart vyos-configd on package installation - if running
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r--debian/vyos-1x.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index d83634cfc..ff5a91e09 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -267,3 +267,8 @@ fi
# T4287 - as we have a non-signed kernel use the upstream wireless reulatory database
update-alternatives --set regulatory.db /lib/firmware/regulatory.db-upstream
+
+# Restart vyos-configd to apply changes in Python scripts/templates
+if systemctl is-active --quiet vyos-configd; then
+ systemctl restart vyos-configd
+fi