[build] Add name and description to init scripts
This commit is contained in:
parent
9213e61608
commit
e1cb593ee6
|
@ -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…
Reference in a new issue