mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[build] Add name and description to init scripts
This commit is contained in:
parent
9213e61608
commit
e1cb593ee6
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ import exec from '../utils/exec';
|
|||
|
||||
export default (grunt) => {
|
||||
const userScriptsDir = grunt.config.get('userScriptsDir');
|
||||
const { path, user, group } = grunt.config.get('packages');
|
||||
const { path, user, group, name, description } = grunt.config.get('packages');
|
||||
|
||||
grunt.registerTask('_build:pleaseRun', function () {
|
||||
grunt.config.get('services').forEach((service) => {
|
||||
|
@ -14,6 +14,8 @@ export default (grunt) => {
|
|||
'--no-install-actions',
|
||||
'--install-prefix', service.outputDir,
|
||||
'--overwrite',
|
||||
'--name', name,
|
||||
'--description', description,
|
||||
'--user', user,
|
||||
'--group', group,
|
||||
'--sysv-log-path', path.logs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue