move example-config.toml to assets, sync with debian variant
All checks were successful
Build and test / check-license (push) Successful in 59s
Build and test / check (push) Successful in 1m42s
Build and test / build (push) Successful in 3m10s
Build and test / test (push) Successful in 3m26s
Build and test / docs (push) Successful in 5m16s

This commit is contained in:
2025-12-16 16:54:55 +09:00
parent 072bf6a090
commit 043a1a7a7a
3 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
[authorization]
group_denylist_file = "/etc/muscl/group_denylist.txt"
[mysql]
# Hostname and port of the database.
host = "localhost"
@@ -22,6 +25,3 @@ password_file = "/run/credentials/muscl.service/muscl_mysql_password"
# Database connection timeout in seconds
timeout = 2
[authorization]
group_denylist_file = "/etc/muscl/group_denylist.txt"

View File

@@ -7,6 +7,9 @@
# (see `systemctl status muscl.socket`)
socket_path = "/run/muscl/muscl.sock"
[authorization]
group_denylist_file = "/etc/muscl/group_denylist.txt"
[mysql]
# Hostname and port of the database.

View File

@@ -13,7 +13,7 @@ This will start a mariadb instance with the root password `secret`, and expose t
Run the following command to create a configuration file with the default settings:
```bash
cp ./example-config.toml ./config.toml
cp ./assets/example-config.toml ./config.toml
```
If you used the docker command above, you can use these settings as is, but if you are running mariadb/mysql on another host, port or with another password, adjust the corresponding fields in `config.toml`.