From bdefa29fb2395eec79564145186d9ad1ec45dff3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 11 Nov 2022 19:19:25 +0100 Subject: Restrict configuration to config file This drops also the -d flag and the database/user config option. The -d flag used to override specific parts of the config file. This is just confusing behaviour. Instead a new config/debug.json file is introduced with useful default values. Instead of configuring the database user via the database/user entry in the config file, the user is determined from the Linux user of the server process. This enforces that a database user with the same name as the Linux user is configured which is already described in the README. --- config/default.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/default.json') diff --git a/config/default.json b/config/default.json index 076d672..7710774 100644 --- a/config/default.json +++ b/config/default.json @@ -8,7 +8,7 @@ }, "database":{ "socket":"/run/mysqld/mysqld.sock", - "user":"ceres", - "database":"ceres" + "database":"ceres", + "migrations":"/usr/share/ceres/migrations" } } -- cgit v1.2.3-70-g09d2