We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does this commands.txt support systemd? eg: my systemd service is pm2-user.service to start custom service:
sudo systemctl start pm2-user.service
the systemd conf file path:
/etc/systemd/system/pm2-user.service
content:
[Unit] Description=PM2 process manager Documentation=https://pm2.keymetrics.io/ After=network.target [Service] Type=forking User=user LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity Environment=PATH=/usr/local/go/bin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin Environment=PM2_HOME=/home/user/.pm2 PIDFile=/home/user/.pm2/pm2.pid Restart=on-failure ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill [Install] WantedBy=multi-user.target
how to set the commands.txt file for this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
does this commands.txt support systemd?
eg:
my systemd service is pm2-user.service
to start custom service:
the systemd conf file path:
content:
how to set the commands.txt file for this?
The text was updated successfully, but these errors were encountered: