Skip to content

Commit

Permalink
also pass in gid/uid for non-systemd systems on UI upgrade (#2984)
Browse files Browse the repository at this point in the history
- closes #2964
  • Loading branch information
foxriver76 authored Dec 7, 2024
1 parent d51b519 commit 98c8e13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
## __WORK IN PROGRESS__
-->

## __WORK IN PROGRESS__
* (@foxriver76) fixed UI upgrade for non-systemd systems

## 7.0.4 (2024-12-04)
* (@Apollon77) Fixes async usage of extendObject
* (@Apollon77) Makes setObject async save
Expand Down
12 changes: 8 additions & 4 deletions packages/controller/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5868,10 +5868,14 @@ async function startUpgradeManager(options: UpgradeArguments): Promise<void> {
},
);
} else {
upgradeProcess = spawn(process.execPath, [upgradeProcessPath, version, adminInstance.toString()], {
detached: true,
stdio: 'ignore',
});
upgradeProcess = spawn(
process.execPath,
[upgradeProcessPath, version, adminInstance.toString(), uid.toString(), gid.toString()],
{
detached: true,
stdio: 'ignore',
},
);
}

upgradeProcess.unref();
Expand Down

0 comments on commit 98c8e13

Please sign in to comment.