1 | cd /media/root/parrot |
because of the qqChatBot task, pyjom on kali may be syncing too often. need to check the watchdog logs.
turned out it is the __pycache__
dirs to be blamed
disable all sync related services on macos for debug:
main issue happens after local vscode launched.
the issue is such that the proxy setting not right.
to debug the service:
1 | sudo launchctl debug gui/501/pyjom_local_syncdog --stdout --stderr |
1 | # to be succint: |
we need to add some code for it. consider adding something alike to that to kali?
1 | os.environ["http_proxy"]="http://localhost:7930" |
1 | launchctl stop gui/501/pyjom_local_watchdog; |
install macos pyjom watchdog (local):
1 | easyd -l pyjom_local_watchdog -w /Users/jamesbrown/Desktop/works/sync_git_repos -- /usr/bin/python3 /Users/jamesbrown/Desktop/works/sync_git_repos/watchdog_macos.py |
install macos pyjom syncdog (local):
1 | easyd -l pyjom_local_syncdog -w /Users/jamesbrown/Desktop/works/sync_git_repos -- /usr/bin/python3 /Users/jamesbrown/Desktop/works/sync_git_repos/syncdog_macos.py |