üzerinde düğüm uygulamasını öldüremiyorum Ubuntu 14'te nginx ve PM2 ile küçük bir düğüm (ekspres) sunucusu çalıştırıyorum. pm2
durdum, nginx sunucumu yeniden başlattım, ancak uygulama hala çalışıyor. Yeniden başlatmam/öldürmem gereken başka bir şey var mı? Nginx'i hep birlikte öldürdüm, gerçekten durduğunu kontrol ettim, daha sonra yeniden başlattım ve uygulama hala çalışır durumda.nginx
pm2
liste/durdurma:
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴────────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
$ pm2 stop all
[PM2][WARN] No process found
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴────────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
$ sudo service nginx restart
* Restarting nginx nginx [ OK ]