KI-AGENT: FEDEO Asterisk-Trunk beim Neustart bewahren

This commit is contained in:
2026-05-21 17:16:07 +02:00
parent 7a893dfdcb
commit 1240ffd03b
2 changed files with 8 additions and 1 deletions

View File

@@ -304,7 +304,8 @@ const writeAsteriskTrunkConfig = async (trunk: any) => {
await Promise.all(files.map(async (file) => {
const target = path.join(targetDir, file.name)
await fs.writeFile(target, `${file.content}\n`, { mode: 0o600 })
await fs.writeFile(target, `${file.content}\n`, { mode: 0o644 })
await fs.chmod(target, 0o644)
}))
return files.map((file) => path.join(targetDir, file.name))