Index: cloudsync/utils/watchdog.py =================================================================== diff -u -r8fe9c82ff8cd968ebdca518f35c3264a25a02927 -r94aee6790700d23f638d8216e1bbf765f88da833 --- cloudsync/utils/watchdog.py (.../watchdog.py) (revision 8fe9c82ff8cd968ebdca518f35c3264a25a02927) +++ cloudsync/utils/watchdog.py (.../watchdog.py) (revision 94aee6790700d23f638d8216e1bbf765f88da833) @@ -12,7 +12,8 @@ # Default sentinel file path — cs.py monitors this to trigger process restart -SENTINEL_PATH = "/tmp/cloudsync_restart_sentinel" +# On-device: /media/sd-card/cloudsync (stable across registration & operation modes) +SENTINEL_PATH = "/media/sd-card/cloudsync/cloudsync_restart_sentinel" class Watchdog: Index: cs.py =================================================================== diff -u -r9f7bb04f030caa9d37d64f2ab0f88dcc6c92e05d -r94aee6790700d23f638d8216e1bbf765f88da833 --- cs.py (.../cs.py) (revision 9f7bb04f030caa9d37d64f2ab0f88dcc6c92e05d) +++ cs.py (.../cs.py) (revision 94aee6790700d23f638d8216e1bbf765f88da833) @@ -14,7 +14,7 @@ logger = logging.getLogger(__name__) DELAY = 0.5 -SENTINEL_FILE = "/tmp/cloudsync_restart_sentinel" +SENTINEL_FILE = "/media/sd-card/cloudsync/cloudsync_restart_sentinel" SENTINEL_CHECK_INTERVAL = 5 USAGE_FORMAT = "Usage: ./cs.py [debug|info|warning|error] [upgrade|update|]"