File default.yaml.patch of Package ergo
--- a/default.yaml 2025-01-26 09:25:19.000000000 +0530
+++ b/default.yaml 2025-02-11 00:14:13.892764538 +0530
@@ -1,3 +1,12 @@
+#####
+#
+# 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.
+# 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 +34,7 @@
# network configuration
network:
# name of the network
- name: ErgoTest
+ name: ErgoRPM
# server configuration
server:
@@ -52,8 +61,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.
@@ -816,12 +825,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 database file (used to store account and channel registrations):
- 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
@@ -853,7 +862,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: