summaryrefslogtreecommitdiff
path: root/debian/vyos-1x.postinst
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-03-01 08:53:09 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-03-01 08:53:09 -0600
commit57ca4de2160254cc5a14d35efaba8123c4e9d542 (patch)
tree1dd4deebd38f1353c51bcc20b59ce4988291dc48 /debian/vyos-1x.postinst
parentee95772c8e72a80091e5daa863fa1a76cdedda95 (diff)
downloadvyos-1x-57ca4de2160254cc5a14d35efaba8123c4e9d542.tar.gz
vyos-1x-57ca4de2160254cc5a14d35efaba8123c4e9d542.zip
graphql: T5040: generate schema in vyos-1x.postinst
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r--debian/vyos-1x.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index b2f6a7399..f6693c799 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -114,3 +114,6 @@ done
# Remove logrotate items controlled via CLI and VyOS defaults
sed -i '/^\/var\/log\/messages$/d' /etc/logrotate.d/rsyslog
sed -i '/^\/var\/log\/auth.log$/d' /etc/logrotate.d/rsyslog
+
+# Generate API GraphQL schema
+/usr/libexec/vyos/services/api/graphql/generate/generate_schema.py