21 lines
631 B
Bash
21 lines
631 B
Bash
#!/bin/sh
|
|
|
|
|
|
|
|
# cd /home/cradle2careertxxyz/websites/www15/portal/dashboard/services/paypal/node/advanced-integration
|
|
# pm2 delete www15;pm2 start server.js --name "www15" -- www15;pm2 logs www15 --lines 100
|
|
|
|
|
|
pm2 start server.js --name www15 -- www15
|
|
touch hello447.txt
|
|
# echo "but no way\nsay that again" > hello447.txt
|
|
# pm2 delete www15
|
|
|
|
# cd /home/cradle2careertxxyz/websites/www15portal/dashboard/system/scripts/
|
|
|
|
|
|
# systemctl start spamassassin.service
|
|
|
|
# cp -rf run_system.service /etc/systemd/system;chown root.root /etc/systemd/system/run_system.service;systemctl daemon-reload;
|
|
|
|
# export PM2_HOME=/usr/share/httpd/.pm2 |