kb: how-to
ext: nodejs
Question
How to restart NodeJS app in Plesk?
Answer
via GUI
- Log into Plesk
- Open Domains > example.com > Node.Js
- Click Restart App
via SSH
-
Connect to the server via SSH
-
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.
Comments
Please sign in to leave a comment.