summaryrefslogtreecommitdiff
path: root/debian/vyos-1x.postinst
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-04 05:37:33 +0100
committerGitHub <noreply@github.com>2023-03-04 05:37:33 +0100
commit493af3f3417cef5c9898f242a2b885e63e3bdeef (patch)
treeb9536a832d7693f2f35d90fc75b58ff57be4d640 /debian/vyos-1x.postinst
parente5eb4f332f03df51d64d51e7f38ee561f298188c (diff)
parent7ab3b9e021e7ce1c56b9f252a04400a37fd33e71 (diff)
downloadvyos-1x-493af3f3417cef5c9898f242a2b885e63e3bdeef.tar.gz
vyos-1x-493af3f3417cef5c9898f242a2b885e63e3bdeef.zip
Merge pull request #1862 from jestabro/schema-generate
graphql: T5040: generate schema on installation, rather than dynamically
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