Skip to content

Commit

Permalink
[build] Add name and description to init scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Jun 7, 2016
1 parent 9213e61 commit e1cb593
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/build/pleaserun.js
Expand Up @@ -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) => {
Expand All @@ -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,
Expand Down

0 comments on commit e1cb593

Please sign in to comment.