Unitech
f47c648b7f
feat: allow to auto dump on start/stop/delete via pm2 set pm2:autodump true #2078 #3431
2019-05-29 00:33:11 +02:00
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
Peter Dave Hello
d0a4c02118
Improve upstart.tpl shell script syntax
...
- Use spaces instead of tab for indent
- Replace deprecated `command` with $(command)
- Add missing quote to variable reference
- Separate variable declaration and assign to avoid masking return values
2018-07-02 20:20:57 +08:00
Aaron Miller
fdeb0c327a
feat: add support for openbsd rc.d init scripts
2018-06-16 16:43:04 -07:00
Unitech
28f11b9fb6
#3347 --wait-ip option to override systemd script for waiting full internet connectivity
2017-12-12 13:27:01 +01:00
Richard Sartori
0abcfc8dc6
FreeBSD Startup Support
2017-12-02 09:28:04 +01:00
pva
0bcee6f8d1
Improve gentoo init script ( #2849 )
...
Use default start() function that is configured with command* variables.
It'll use start-stop-daemon to start daemon and check that pidfile was
created.
Allow user to override user that will be used to run pm2 daemon. As a
consequence install init script with pm2 name instead of pm2-root.
Provide some information on how to start services aftewards.
Make reload function working.
2017-05-21 01:28:31 +02: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
Tomofumi Hayashi
7ab7b0f107
Support openrc (gentoo linux).
2017-01-12 20:48:58 +09: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
c556faa14d
(startup) keepalive launchd
2016-12-06 14:43:12 +01:00
Unitech
cf1151c163
(startup) launchd fixes for MacOSx
2016-12-06 14:37:31 +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