Skip to content

Commit f0c34b7

Browse files
committed
#3356 PR has introduced bug...
1 parent ac4ca71 commit f0c34b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/API/Startup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ module.exports = function(CLI) {
293293
template = template.replace(/%PM2_PATH%/g, process.mainModule.filename)
294294
.replace(/%NODE_PATH%/g, path.dirname(process.execPath))
295295
.replace(/%USER%/g, user)
296-
.replace(/%HOME_PATH%/g, opts.hp ? path.resolve(opts.hp) : cst.PM2_ROOT_PATH)
296+
.replace(/%HOME_PATH%/g, opts.hp ? path.resolve(opts.hp, '.pm2') : cst.PM2_ROOT_PATH)
297297
.replace(/%SERVICE_NAME%/g, service_name);
298298

299299
Common.printOut(chalk.bold('Platform'), platform);

0 commit comments

Comments
 (0)