[Unit] Description=PM2 next gen process manager for Node.js Documentation=https://pm2.keymetrics.io/ After=network.target remote-fs.target [Service] Type=forking User=%USER% Environment=PM2_HOME=%HOME_PATH% ExecStart=/usr/bin/pm2 resurrect ExecReload=/usr/bin/pm2 reload all ExecStop=/usr/bin/pm2 dump ExecStop=/usr/bin/pm2 delete all ExecStop=/usr/bin/pm2 kill [Install] WantedBy=multi-user.target