You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
please define default location for settings.txt #18
Hi,
I try the tool with a ionos 1und1 domain. I would like a definition of the location from the default config file exp: /usr/local/etc/settings.txt would be better then current directory. I found many settings.txt everywhere yesterday :-)
Thank you for that good solution!
Hi @it-da-de,
Indeed it would be nicer to have a more specific location for the config file.
It must be done in the way it is working platform-independent, however.
Looking briefly for options, it's not a trivial problem and the library available for the purpose https://github.com/ActiveState/appdirs does not seem to be well maintained and still with many open issues.
It requires a bit of more investigation on the possible solution.
In the mean time please use --config option to locate the config file at the desired location on your system.
I've manually specified where the setting file is (in another folder), but when it runs it creates a new settings.txt in the home folder. I think it does this as it adds the last updated time. It would be good that when using the explicit flag for the setting folder, you then write back to this file
Oddly this behaviour does not happen when using the --ignore-previous-ip flag
As a workaround I just mv the new file to overwrite the original settings.txt. But this is not really ideal
Activity
[-]Problem with update and status[/-][+]please define default location for settings.txt[/+]pawel-kow commentedon Jan 7, 2020
Hi @it-da-de,
Indeed it would be nicer to have a more specific location for the config file.
It must be done in the way it is working platform-independent, however.
Looking briefly for options, it's not a trivial problem and the library available for the purpose https://github.com/ActiveState/appdirs does not seem to be well maintained and still with many open issues.
It requires a bit of more investigation on the possible solution.
In the mean time please use
--configoption to locate the config file at the desired location on your system.liput commentedon Mar 25, 2021
I've manually specified where the setting file is (in another folder), but when it runs it creates a new settings.txt in the home folder. I think it does this as it adds the last updated time. It would be good that when using the explicit flag for the setting folder, you then write back to this file
Oddly this behaviour does not happen when using the --ignore-previous-ip flag
As a workaround I just mv the new file to overwrite the original settings.txt. But this is not really ideal
pawel-kow commentedon Mar 26, 2021
@liput moved your issue to #44