diff options
Diffstat (limited to 'ergo/ergo-paths.patch')
-rw-r--r-- | ergo/ergo-paths.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ergo/ergo-paths.patch b/ergo/ergo-paths.patch new file mode 100644 index 0000000..9d48e99 --- /dev/null +++ b/ergo/ergo-paths.patch @@ -0,0 +1,52 @@ +diff '--color=auto' -u -r -N ergo/default.yaml ergo-paths/default.yaml +--- ergo/default.yaml 2021-09-30 19:59:44.761132327 +0200 ++++ ergo-paths/default.yaml 2021-09-30 20:00:40.500799350 +0200 +@@ -52,8 +52,8 @@ + # this is a standard TLS configuration with a single certificate; + # see the manual for instructions on how to configure SNI + tls: +- cert: fullchain.pem +- key: privkey.pem ++ cert: /var/lib/ergo/fullchain.pem ++ key: /var/lib/ergo/privkey.pem + # 'proxy' should typically be false. It's for cloud load balancers that + # always send a PROXY protocol header ahead of the connection. See the + # manual ("Reverse proxies") for more details. +@@ -74,8 +74,8 @@ + # ":8097": + # websocket: true + # tls: +- # cert: fullchain.pem +- # key: privkey.pem ++ # cert: /var/lib/ergo/fullchain.pem ++ # key: /var/lib/ergo/privkey.pem + + # sets the permissions for Unix listen sockets. on a typical Linux system, + # the default is 0775 or 0755, which prevents other users/groups from connecting +@@ -169,7 +169,7 @@ + + # motd filename + # if you change the motd, you should move it to ircd.motd +- motd: ergo.motd ++ motd: /var/lib/ergo/ircd.motd + + # motd formatting codes + # if this is true, the motd is escaped using formatting codes like $c, $b, and $i +@@ -740,7 +740,7 @@ + # datastore configuration + datastore: + # path to the datastore +- path: ircd.db ++ path: /var/lib/ergo/ircd.db + + # if the database schema requires an upgrade, `autoupgrade` will attempt to + # perform it automatically on startup. the database will be backed +@@ -772,7 +772,7 @@ + default: en + + # which directory contains our language files +- path: languages ++ path: /usr/share/ergo/i18n + + # limits - these need to be the same across the network + limits: |