From 0c8ddd504b14c94c409ffc2c1c68e8f49a6feabd Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Sun, 11 Dec 2022 19:35:11 +0100 Subject: [PATCH] bla --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2c8e470..a409a05 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ * Install nvm: `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash` * Install node: `nvm install 18.12.1 && nvm use 18.12.1` * Install pm2: `npm install pm2 -g` +* Make pm2 launch on reboot: `pm2 startup` * Install nginx: `sudo apt-get install nginx` * Remove default virtual host: `sudo unlink /etc/nginx/sites-enabled/default` @@ -20,3 +21,4 @@ * restart nginx: `sudo systemctl restart nginx` * Enter your LDAP bind user cred by running: `node ldap-conf.js` * Run the server: `pm2 start index.js --name bde-list -i 1` +* Save current configureation: `pm2 save`