- Plesk Onyx
- Plesk for Linux
How to restart NodeJS app via CLI?
Plesk CLI does not allow controlling customer's objects like applications, scripts, etc.
Vote for the feature on Uservoice Portal: Plesk User Voice
Top-ranked suggestions are likely to be implemented in future releases.
As a workaround, the application can be restarted manually as follows:
Connect to the server via SSH
Execute the following command:
# sudo -u user -g psacln touch /var/www/vhosts/example.com/app/tmp/restart.txt
useris the system user for the example.com subscription and
/var/www/vhosts/example.com/app/is the path to the NodeJS application