Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/dev/build/tasks/os_packages/run_fpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export async function runFpm(
}
};

const envFolder = type === 'rpm' ? 'sysconfig' : 'default';

const args = [
// Force output even if it will overwrite an existing file
'--force',
Expand Down Expand Up @@ -135,6 +137,11 @@ export async function runFpm(

// copy package configurations
`${resolveWithTrailingSlash(__dirname, 'service_templates/systemd/')}=/`,

`${resolveWithTrailingSlash(
__dirname,
'service_templates/env/kibana'
)}=/etc/${envFolder}/kibana`,
];

log.debug('calling fpm with args:', args);
Expand Down