Files
muscl/assets/example-config.toml
h7x4 043a1a7a7a
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
move example-config.toml to assets, sync with debian variant
2025-12-16 16:54:55 +09:00

35 lines
1000 B
TOML

# This should go to `/etc/muscl/config.toml`
[server]
# The path to the socket where users can connect to the daemon.
#
# Note that this options gets ignored if you are using systemd socket activation
# (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.
host = "localhost"
port = 3306
# The path to the unix socket of the database.
# If you uncomment this line, the host and port will be ignored
# socket_path = "/run/mysql/mysql.sock"
# The username and password for the database connection.
# The username and password can be omitted if you are connecting
# to the database using socket based authentication.
# However, the vendored systemd service is running as DynamicUser,
# so these need to be specified by default unless you override the
# systemd unit.
username = "root"
password = "secret"
# Database connection timeout in seconds
timeout = 2