Skip to content

fix(service): rewrite a service plist that collects into another data directory - #89

Merged
vishr merged 1 commit into
mainfrom
fix/service-data-dir
Oct 31, 2026
Merged

vishr merged 1 commit into
mainfrom
fix/service-data-dir

Conversation

@vishr

@vishr vishr commented Oct 31, 2026

Copy link
Copy Markdown
Member

The service takes DRIGA_DATA_DIR from the environment that installs it. A
plist that recorded another directory, such as one with an escaped space,
was never repaired: install only rewrote the plist when its executable or
bundle association changed, so the app's launch-time install kept it, and
every client fell back to snapshot mode with no reason given.

PlistStale now also reports a plist whose data directory differs from the
one this process uses, an unset value meaning the default. Install rewrites
it and logs service_data_dir_moved with both directories, and doctor's
service_definition warning names the cause.

… directory

The service takes DRIGA_DATA_DIR from the environment that installs it. A
plist that recorded another directory, such as one with an escaped space,
was never repaired: install only rewrote the plist when its executable or
bundle association changed, so the app's launch-time install kept it, and
every client fell back to snapshot mode with no reason given.

PlistStale now also reports a plist whose data directory differs from the
one this process uses, an unset value meaning the default. Install rewrites
it and logs service_data_dir_moved with both directories, and doctor's
service_definition warning names the cause.
@vishr
vishr merged commit 282f9d4 into main Oct 31, 2026
7 checks passed
@vishr
vishr deleted the fix/service-data-dir branch October 31, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant