feat(source2): lock dark mode, sans-serif typography, and all recent updates
This commit is contained in:
1 parent
dd4c8f6876
commit
9f24b56e97
259 files changed
+15596
-8966
No files matched your search
@@ -0,0 +1,25 @@
|
||||
const { Client } = require('ssh2');
|
||||
|
||||
const config = {
|
||||
host: '103.185.47.52',
|
||||
port: 2222,
|
||||
username: 'adminbackend',
|
||||
password: 'htEo7x6LsBQiEHHH',
|
||||
readyTimeout: 60000
|
||||
};
|
||||
|
||||
const conn = new Client();
|
||||
conn.on('ready', () => {
|
||||
const cmd = `
|
||||
echo "=== PM2 STATUS ==="
|
||||
~/.npm-global/bin/pm2 list || pm2 list || npx pm2 list
|
||||
`;
|
||||
conn.exec(cmd, (err, stream) => {
|
||||
if (err) throw err;
|
||||
stream.on('close', () => conn.end());
|
||||
stream.on('data', (d) => process.stdout.write(d.toString()));
|
||||
stream.stderr.on('data', (d) => process.stderr.write(d.toString()));
|
||||
});
|
||||
}).connect(config);
|
||||
|
||||
|
||||
Reference in new issue
Block a user