12 Commits

Author SHA1 Message Date
Unitech
6090b0971a fix: systemd restart PM2 only on-failure #4157 2019-04-05 17:13:01 +02:00
sirisian
239fad012f
Added Restart and RestartSec into the systemd script
When Ubuntu's out of memory killer kills PM2 it never restarts. Adding these lines should restart it after 30 seconds.
2019-02-08 19:58:17 -06:00
Unitech
a206957714 temp: disable restart on failure on systemd script 2019-01-08 17:37:24 +01:00
Unitech
3a32bf61f6 feat: systemd restart on failure #3956 2018-12-27 14:58:44 +01:00
vmarchaud
cd4e201215 (startup) drop start timeout #2765 2017-03-16 00:44:52 +01:00
Unitech
1f855da544 #2707 avoid Restart=always with systemd (pid refresh problem) 2017-02-19 15:07:11 +01:00
Max Mathieu
501c4d3954 Make sure pm2 does not fill up systemd logs 2017-02-10 14:15:21 -05:00
vmarchaud
61a7197c8d (startup) increase restart timeout for systemd #2674 2017-02-01 17:05:08 +01:00
vmarchaud
dabf2ba225 (startup tmpl) wrong cmd for systemd #2590 2016-12-21 14:10:30 +01:00
Unitech
b86a2cce05 (startup) minor fix on command lines + add every PATH on systemd env 2016-12-08 01:50:33 +01:00
Unitech
67d19e4e3b (startup) autodetect platform + fix systemd file + fix upstart file + do not launch PM2 as root on startup commands + pm2 unstartup 2016-12-06 02:09:00 +01:00
Unitech
1dc0d5b9ec (startup refactor) 2016-12-04 19:23:18 +01:00