Files
muscl/example-config.toml
h7x4 0c4cacfd7d
Some checks failed
Build and test / check (push) Successful in 1m38s
Build and test / build (push) Successful in 2m42s
Build and test / test (push) Successful in 3m7s
Build and test / check-license (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Rename project to muscle
2025-11-26 03:42:28 +09:00

32 lines
932 B
TOML

# This should go to `/etc/muscle/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 muscle.socket`)
socket_path = "/run/muscle/muscle.sock"
[mysql]
# Hostname and port of the database.
host = "localhost"
port = 3306
# The path to the unix socket of the databse.
# 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