File default.yaml.patch of Package ergo
--- ergo-2.10.0+git17.507dc2d8/default.yaml 2022-08-04 03:16:33.000000000 +0200
+++ default.yaml 2022-08-20 18:29:27.394070751 +0200
@@ -1,3 +1,14 @@
+#####
+#
+# This is the default config file for the Ergo RPM packge.
+# It contains the same default settings as the default.yaml file shipped with Ergo,
+# but comes with adjusted paths to ensure a smooth installation.
+# Packaging date of this config: 30/06/2023 with package version: ergo-2.11.1
+# NOTE: An existing /etc/ergo/ircd.yaml file will not be overwritten if you decide to reinstall or upgrade Ergo using the RPM package.
+# If new config options are implemented, you either have to merge them manually after the upgrade using ircd.yaml.rpmnew, or delete/move this file before the upgrade.
+#
+#####
+
# This is the default config file for Ergo.
# It contains recommended defaults for all settings, including some behaviors
# that differ from conventional ircd+services setups. See traditional.yaml
@@ -25,7 +36,7 @@
# network configuration
network:
# name of the network
- name: ErgoTest
+ name: ErgoTestRPM
# server configuration
server:
@@ -52,8 +63,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: /etc/ssl/ergo/crt
+ key: /etc/ssl/ergo/key
# '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.
@@ -753,12 +764,12 @@
# started at once. comment out or set to the empty string ("") to disable.
# this path is relative to the working directory; if your datastore.path
# is absolute, you should use an absolute path here as well.
-lock-file: "ircd.lock"
+lock-file: "/run/ergo/ircd.lock"
# 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
@@ -790,7 +801,7 @@
default: en
# which directory contains our language files
- path: languages
+ path: /usr/share/ergo/languages
# limits - these need to be the same across the network
limits: