mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fix issues with configuration/parameters loading
- Change default server directory from plinth/ to /plinth as the program expects. - First load the values from configuration file and then override them with command line parameters. - Show default values on the command line help. - Use configuration file values as default values to command line parameters. - Log the value of script prefix (server_dir) for easy debugging. - Make sure the server_dir is properly loaded from configuration files.
This commit is contained in:
1 parent
2a83f29b8b
commit
e09018fe9a
3 files changed
+11
-8
No files matched your search
@@ -9,7 +9,7 @@ config_dir = /etc/plinth
|
||||
data_dir = /var/lib/plinth
|
||||
log_dir = /var/log/plinth
|
||||
pid_dir = /var/run
|
||||
server_dir = plinth/
|
||||
server_dir = /plinth
|
||||
actions_dir = /usr/share/plinth/actions
|
||||
doc_dir = /usr/share/doc/plinth
|
||||
|
||||
|
||||
Reference in new issue
Block a user