CT: Fixed path in in pm2 permissions fix

This commit is contained in:
2023-01-29 15:41:13 +01:00
parent 8f16f1bfba
commit 1819cf1a9e

View File

@@ -639,7 +639,7 @@ actions:
#!/bin/sh
#Install pm2
npm install -g pm2
chown -R root:root /usr/local/lib/node_modules/pm2/node_module
chown -R root:root /usr/local/lib/node_modules/pm2/node_modules
#Add NodeJS `node` service user
addgroup node
adduser -S -s /bin/ash -h /home/node -D -G node node