revert Last commit, Commited to wrong branch
revert CT: Using NodeJS fixed pm2 permissions
This commit is contained in:
@@ -639,7 +639,6 @@ actions:
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#Install pm2
|
#Install pm2
|
||||||
npm install -g pm2
|
npm install -g pm2
|
||||||
chown -R root:root /usr/local/lib/node_modules/pm2/node_module
|
|
||||||
#Add NodeJS `node` service user
|
#Add NodeJS `node` service user
|
||||||
addgroup node
|
addgroup node
|
||||||
adduser -S -s /bin/ash -h /home/node -D -G node node
|
adduser -S -s /bin/ash -h /home/node -D -G node node
|
||||||
|
|||||||
Reference in New Issue
Block a user