From 043a1a7a7a87f7e883168fb1179008090fd8c850 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 16 Dec 2025 16:54:55 +0900 Subject: [PATCH] move `example-config.toml` to `assets`, sync with debian variant --- assets/debian/config.toml | 6 +++--- example-config.toml => assets/example-config.toml | 3 +++ docs/development.md | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) rename example-config.toml => assets/example-config.toml (92%) diff --git a/assets/debian/config.toml b/assets/debian/config.toml index aafec6f..efeab10 100644 --- a/assets/debian/config.toml +++ b/assets/debian/config.toml @@ -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" diff --git a/example-config.toml b/assets/example-config.toml similarity index 92% rename from example-config.toml rename to assets/example-config.toml index a6fc2dc..c59678a 100644 --- a/example-config.toml +++ b/assets/example-config.toml @@ -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. diff --git a/docs/development.md b/docs/development.md index 6f542cf..9106fc5 100644 --- a/docs/development.md +++ b/docs/development.md @@ -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`.