void-packages/srcpkgs/oragono/patches/paths.patch
2021-01-31 23:17:45 -03:00

41 lines
1.4 KiB
Diff

--- default.yaml.orig 2021-01-30 22:19:08.000000000 -0500
+++ default.yaml 2021-01-31 20:20:33.092293843 -0500
@@ -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 for cloud load balancers that
# always send a PROXY protocol header ahead of the connection. See the
# manual ("Reverse proxies") for more details.
@@ -166,7 +166,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
@@ -714,7 +714,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
@@ -743,7 +743,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: