void-packages/srcpkgs/oragono/patches/paths.patch

41 lines
1.4 KiB
Diff

--- default.yaml.orig 2020-07-26 08:57:19.471641788 -0400
+++ default.yaml 2020-07-26 08:59:56.772839651 -0400
@@ -50,8 +50,8 @@
# The standard SSL/TLS port for IRC is 6697. This will listen on all interfaces:
":6697":
tls:
- cert: fullchain.pem
- key: privkey.pem
+ cert: /var/lib/oragono/fullchain.pem
+ key: /var/lib/oragono/privkey.pem
# 'proxy' should typically be false. It's only for Kubernetes-style load
# balancing that does not terminate TLS, but sends an initial PROXY line
# in plaintext.
@@ -159,7 +159,7 @@
# motd filename
# if you change the motd, you should move it to ircd.motd
- motd: oragono.motd
+ motd: /var/lib/oragono/motd
# motd formatting codes
# if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -671,7 +671,7 @@
# datastore configuration
datastore:
# path to the datastore
- path: ircd.db
+ path: /var/lib/oragono/db
# if the database schema requires an upgrade, `autoupgrade` will attempt to
# perform it automatically on startup. the database will be backed
@@ -700,7 +700,7 @@
default: en
# which directory contains our language files
- path: languages
+ path: /usr/share/oragono/i18n
# limits - these need to be the same across the network
limits: