struCoder / pmgo

pmgo is a process manager for Golang applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify the user run pmgo?

dongmai opened this issue · comments

Hi @struCoder ,

How can I run pmgo with different user than the current logged user? For example, I ssh to server by 'root' user but want to run pmgo with 'green' user.

Thanks.

Hi @dongmai
I think this command should be work :)

chown -R $(whoami):root /usr/bin/pmgo