Articles in this section

How to restart NodeJS app in Plesk?

kb: how-to ext: nodejs

Question

How to restart NodeJS app in Plesk?

Answer

via GUI
  1. Log into Plesk
  2. Open Domains > example.com > Node.Js
  3. Click Restart App
via SSH
  1. Connect to the server via SSH

  2. Create the restart.txt file at the application's tmp folder:

# sudo -u jdoe -g psacln touch /var/www/vhosts/example.com/tmp/restart.txt

Note: jdoe is to be replaced with the subscription's system user. Can be checked at (Domains > example.com > Web Hosting Access)
Meanwhile, the path should be checked on your end as it depends on the application's location.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.