From 81c18e64c0d8f6fa499ea8a403e48c7ac0e5a68c Mon Sep 17 00:00:00 2001 From: Stijn De Weirdt Date: Wed, 4 Nov 2015 10:59:01 +0100 Subject: [PATCH] osPackage handle systemd units --- tasks/build/osPackages.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/build/osPackages.js b/tasks/build/osPackages.js index d62dcec88d2b..95110af6c752 100644 --- a/tasks/build/osPackages.js +++ b/tasks/build/osPackages.js @@ -33,8 +33,9 @@ module.exports = function (grunt) { // kibana.rpm and kibana.deb if (/linux-x(86|64)$/.test(name)) { let sysv = servicesByName.sysv.outputDir + '/etc/=/etc/'; - fpm(args.concat('-t', 'rpm', '-a', arch, '--rpm-os', 'linux', files, sysv)); - fpm(args.concat('-t', 'deb', '-a', arch, files, sysv)); + let systemd = servicesByName.systemd.outputDir + '/lib/=/lib/'; + fpm(args.concat('-t', 'rpm', '-a', arch, '--rpm-os', 'linux', files, sysv, systemd)); + fpm(args.concat('-t', 'deb', '-a', arch, files, sysv, systemd)); return; }