Skip to content

Fail in load home at linux #175

@tech-josemanuelrincon

Description

@tech-josemanuelrincon

When launch log.io-harvester with other non root user or supervisor, dont load correctly home

I have changed this in bin/log.io-harvester

+osenv=require('osenv')
-homeDir = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
+homeDir=osenv.home()

This changes, fixed the problem above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions