mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- When there are multiple binary packages, a common practice is to install into
debian/tmp using the Makefile and then use dh_install and .install files. This
splits the contents installed into debian/tmp to various package directories
debian/{package}.
- Install documentation in to /usr/share/freedombox instead of
/usr/share/doc/freedombox. Then create a link to /usr/share/doc/freedombox/.
This approach is recommended Debian Policy Manual in section 12.3[1] because
it should safe for administrator to delete files in /usr/share/doc safely
without breaking the application functionality. The doc-base must refer to the
documentation in /usr/share/doc as per doc-base documentation.
Links
1) https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
37 lines
1009 B
Plaintext
37 lines
1009 B
Plaintext
[Path]
|
|
# directory locations
|
|
file_root = /usr/share/plinth
|
|
config_dir = /etc/plinth
|
|
data_dir = /var/lib/plinth
|
|
server_dir = /plinth
|
|
actions_dir = /usr/share/plinth/actions
|
|
doc_dir = /usr/share/freedombox
|
|
custom_static_dir = /var/www/plinth/custom/static
|
|
|
|
# file locations
|
|
store_file = %(data_dir)s/plinth.sqlite3
|
|
|
|
[Network]
|
|
host = 127.0.0.1
|
|
port = 8000
|
|
|
|
# Enable the following only if Plinth is behind a proxy server. The
|
|
# proxy server should properly clean and the following HTTP headers:
|
|
# X-Forwarded-For
|
|
# X-Forwarded-Host
|
|
# X-Forwarded-Proto
|
|
# If you enable these unnecessarily, this will lead to serious security
|
|
# problems. For more information, see
|
|
# https://docs.djangoproject.com/en/1.7/ref/settings/
|
|
#
|
|
# These are enabled by default in Plinth because the default
|
|
# configuration allows only connections from localhost
|
|
#
|
|
# Leave the values blank to disable
|
|
use_x_forwarded_for = True
|
|
use_x_forwarded_host = True
|
|
secure_proxy_ssl_header = HTTP_X_FORWARDED_PROTO
|
|
|
|
[Misc]
|
|
box_name = FreedomBox
|