Skip to content

Commit

Permalink
fix: incorrect path to template satellite-config file on pi
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Nov 11, 2024
1 parent 6b14234 commit 881c62a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion satellite/src/fixup-pi-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ const appConfig = openHeadlessConfig(configFilePath)
// Ensure the satellite user owns the file. This is a bit dodgey guessing the ids like this..
chown(appConfig.path, 1000, 1000).catch(() => null)

const templatePathName = fileURLToPath(new URL('../pi-image/satellite-config', import.meta.url))
const templatePathName = fileURLToPath(
new URL('/usr/local/src/companion-satellite/pi-image/satellite-config', import.meta.url),
)

const importFromPaths = [
// Paths to search for a config file to 'import' from
Expand Down

0 comments on commit 881c62a

Please sign in to comment.