51 Commits

Author SHA1 Message Date
Alexandre Strzelewicz
ff1a7f315b fix: startup script issue 18.04 #3645 2018-05-26 19:14:37 +02:00
Alexandre Strzelewicz
0e4453d9cc chore: merge master in development 2018-05-26 19:12:41 +02:00
Unitech
ee5e6a06cb refactor: faster cli with less require 2018-05-17 23:34:48 +02:00
Unitech
4576b4c97b refactor: replace fs-extra with node calls 2018-05-17 19:47:49 +02:00
Unitech
f8a6a63462 fix: fix systemd command for ubuntu 18 #3645 2018-05-17 17:27:24 +02:00
Unitech
d529f675d0 fix: #3645 throttle startup 2018-05-10 19:10:47 +02:00
vince
bc07f43b11 fix: use polyfill module for copySync with node 4.x 2018-03-05 17:11:36 +01:00
vince
8951184688 fix: solve empty list when no process and try to update pm2 2018-03-02 15:25:15 +01:00
vince
ced2835d21 feature: #3485 add cleardump command 2018-03-02 12:18:54 +01:00
vince
f2523f6a6b fix: #3485 fix issue when there is empty dump file 2018-03-02 10:22:23 +01:00
Unitech
f0c34b7bfa #3356 PR has introduced bug... 2017-12-15 00:32:34 +01:00
Unitech
28f11b9fb6 #3347 --wait-ip option to override systemd script for waiting full internet connectivity 2017-12-12 13:27:01 +01:00
Unitech
16bb69fa25 startup: systemd disable chmod 2017-12-06 20:09:13 +01:00
Richard Sartori
0abcfc8dc6 FreeBSD Startup Support 2017-12-02 09:28:04 +01:00
Daniel Tschinder
fb8fbe117a feat(startup): Allow custom service names for startup scripts
Especially when running mutliple instances of pm2 on one machine with
the same user this helps to create multiple startup scripts for each of
the instance.
2017-10-25 10:16:51 +02:00
Unitech
43b6000171 reword the startup command helper 2017-09-14 16:41:40 +02:00
bisubus
de64ea3bfb Add a fallback to dump backup on resurrection 2017-07-06 00:37:12 +03:00
bisubus
94d3579579 Add dump backup creation on dump save 2017-07-06 00:37:12 +03:00
Unitech
5f306fe66c #2980 PM2_SILENT=true pm2 startup 2017-07-03 00:31:26 +02: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
Unitech
e5aa61ddfa CHANGELOG + do not systemctl status on unstartup 2017-02-21 14:39:21 +01:00
porsager
76b5ebc391 Make unstartup behavior predictable 2017-02-15 22:11:28 +01:00
porsager
5c8323c358 Use proper launchd service name 2017-02-15 21:58:12 +01:00
porsager
1acc01f0fa Fix removal of old pm2 named services 2017-02-15 21:54:20 +01:00
porsager
d0928ba1d2 Merge remote-tracking branch 'origin/development' into multi-user-startup
# Conflicts:
#	lib/API/Startup.js
2017-02-15 15:05:03 +01:00
porsager
802e5de1f2 Fix systemd to use service_name 2017-02-15 10:39:08 +01:00
porsager
8a7f7edfc6 Add support for multi user startup 2017-02-15 10:24:09 +01:00
George Kalpakas
57d28420fc (startup) fix systemv on debian
Discussion: a788e523e5 (commitcomment-20851443)
2017-02-13 15:29:00 +02:00
soyuka
6b0558dc46 fix #2617 only load startup file with launchctl 2017-01-28 21:02:31 +01:00
vmarchaud
334ced4a7f (typo) remove msg for unstartup on gentoos 2017-01-12 17:23:36 +01:00
Tomofumi Hayashi
7ab7b0f107 Support openrc (gentoo linux). 2017-01-12 20:48:58 +09:00
Manuel Kasper
3d2ee87558 Fix FreeBSD rc.conf overwrite
Overwriting rc.conf on FreeBSD is very serious and will lead to a non-working system at the next reboot, as all IP address information, daemon configuration, etc. is lost.
2016-12-27 18:40:03 +01:00
vmarchaud
44baea5b65 (startup) create /var/lock/subsys path if needed #2598 2016-12-27 15:37:28 +01:00
vmarchaud
84570b918d (startup) stop command execution flow when a command fail #2587 2016-12-27 15:34:39 +01:00
vmarchaud
9212975fb8 (startup) add warning when initsystem provided isnt the one detected by PM2 2016-12-27 15:18:29 +01:00
Unitech
d6b55a0418 pm2@2.2.2 [startup refactor] 2016-12-15 14:52:20 +01:00
Unitech
20c4840aab #2574 support amazon systemv 2016-12-15 14:45:49 +01:00
Unitech
a788e523e5 #2574 support amazon systemv 2016-12-15 14:44:45 +01:00
Unitech
be4eb6c632 (startup) do not exit if no dump available 2016-12-09 17:59:16 +01:00
Unitech
56d2a7681d (startup) update-rc.d remove 2016-12-09 10:08:43 +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
24e7287f9a (startup) support legacy startup system (pm2-init.sh) 2016-12-08 01:36:52 +01:00
Unitech
7a018c53f7 #1090 #15 do not replicate same processes on resurrect 2016-12-07 22:00:18 +01:00
Unitech
af41cb05cd (launchd) fix suggested command 2016-12-06 16:34:37 +01:00
Unitech
0ec275af69 (startup) launchd auto restart + unstartup launchd 2016-12-06 16:31:01 +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
Unitech
6dc5d4c3c3 #2464 display error message when dump file fail to save 2016-10-26 18:54:38 +02:00
atrandom
7b39f9660b fix #1063 change startup script destination (for Gentoo/OpenRC) 2016-08-18 21:59:45 +09:00