Skip to content

Commit

Permalink
Switch from admin systemd location to vendor (elastic#27768)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Dec 27, 2018
1 parent a3b4f68 commit 6f73da4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dev/build/tasks/os_packages/run_fpm.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ export async function runFpm(config, log, build, type, pkgSpecificFlags) {
// copy the data directory at /var/lib/kibana
`${resolveWithTrailingSlash(fromBuild('data'))}=/var/lib/kibana/`,

// copy the generated pleaserun services for systemd and sysv into /etc/
// copy the generated pleaserun services for sysv into /etc/
`${resolveWithTrailingSlash(__dirname, 'service_templates/sysv/etc')}=/etc/`,
`${resolveWithTrailingSlash(__dirname, 'service_templates/systemd/etc')}=/etc/`,
// copy the generated pleaserun services for systemd into /lib/
`${resolveWithTrailingSlash(__dirname, 'service_templates/systemd/lib')}=/lib/`,
];

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

0 comments on commit 6f73da4

Please sign in to comment.