Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/net-im/gotosocial/files/patch-example_config.yaml
16461 views
1
--- example/config.yaml.orig 2022-06-20 12:11:36 UTC
2
+++ example/config.yaml
3
@@ -158,12 +158,12 @@ db-tls-ca-cert: ""
4
# String. Directory from which gotosocial will attempt to load html templates (.tmpl files).
5
# Examples: ["/some/absolute/path/", "./relative/path/", "../../some/weird/path/"]
6
# Default: "./web/template/"
7
-web-template-base-dir: "./web/template/"
8
+web-template-base-dir: "/usr/local/www/gotosocial/template/"
9
10
# String. Directory from which gotosocial will attempt to serve static web assets (images, scripts).
11
# Examples: ["/some/absolute/path/", "./relative/path/", "../../some/weird/path/"]
12
# Default: "./web/assets/"
13
-web-asset-base-dir: "./web/assets/"
14
+web-asset-base-dir: "/usr/local/www/gotosocial/assets/"
15
16
###########################
17
##### ACCOUNTS CONFIG #####
18
@@ -240,7 +240,7 @@ storage-backend: "local"
19
# this directory, and create new subdirectories and files within it.
20
# Examples: ["/home/gotosocial/storage", "/opt/gotosocial/datastorage"]
21
# Default: "/gotosocial/storage"
22
-storage-local-base-path: "/gotosocial/storage"
23
+storage-local-base-path: "/var/db/gotosocial/storage"
24
25
###########################
26
##### STATUSES CONFIG #####
27
@@ -306,7 +306,7 @@ letsencrypt-port: 80
28
# In any case, make sure GoToSocial has permissions to write to / read from this directory.
29
# Examples: ["/home/gotosocial/storage/certs", "/acmecerts"]
30
# Default: "/gotosocial/storage/certs"
31
-letsencrypt-cert-dir: "/gotosocial/storage/certs"
32
+letsencrypt-cert-dir: "/var/db/gotosocial/storage/certs"
33
34
# String. Email address to use when registering LetsEncrypt certs.
35
# Most likely, this will be the email address of the instance administrator.
36
37