From a7380ba353bd6587713e113e21044b109bfb1db0 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Mon, 14 Oct 2019 09:29:04 +0200 Subject: [PATCH] Add SCRIPTS_ROOT to configuration.example.py Fixes #3608 by adding the new variable to the example configuration. --- netbox/netbox/configuration.example.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netbox/netbox/configuration.example.py b/netbox/netbox/configuration.example.py index ebc3d4540..16316bb66 100644 --- a/netbox/netbox/configuration.example.py +++ b/netbox/netbox/configuration.example.py @@ -154,6 +154,10 @@ PREFER_IPV4 = False # this setting is derived from the installed location. # REPORTS_ROOT = '/opt/netbox/netbox/reports' +# The file path where custom scripts will be stored. A trailing slash is not needed. Note that the default value of +# this setting is derived from the installed location. +# SCRIPTS_ROOT = '/opt/netbox/netbox/scripts' + # By default, NetBox will store session data in the database. Alternatively, a file path can be specified here to use # local file storage instead. (This can be useful for enabling authentication on a standby instance with read-only # database access.) Note that the user as which NetBox runs must have read and write permissions to this path.