Unitech
d9e6964f46
Bun support
2024-11-13 13:23:06 +01:00
Dimitar Drenkovski
199e141a21
Merge branch 'update_copyright_year' into copyright_update_2022
2022-01-19 14:53:37 +01:00
Dimitar Drenkovski
4c9cb4d743
Update copywrite year (2021 -> 2022)
2022-01-19 11:41:33 +01:00
Patrick Muff
7ced8c6638
Ensure directory exists before writing to it
2021-10-04 16:29:49 +02:00
Unitech
cc9714ca83
bump copyright years
2021-01-28 11:05:59 +01:00
Unitech
43d24f06cc
fix: change startup/unstartup wording
2020-06-29 22:02:36 +02:00
Unitech
e790d82212
disable autodump #4763
2020-06-29 11:20:57 +02:00
Unitech
593b43ca66
various fixes for N14
2020-04-23 17:33:35 +02:00
Alexandre Strzelewicz
8abcd4d27c
Merge pull request #4297 from licson0729/master
...
Support Solaris SMF as init system
2019-06-17 13:17:14 -07:00
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
Licson Lee
32ad094553
Remove garbage characters
2019-05-28 01:23:53 +08:00
Licson Lee
9dfdb6b66e
Fixed undefined username when creating service definition
2019-05-28 01:16:41 +08:00
Licson Lee
b633a82ae1
Added force (-f) flag when removing service
2019-05-28 00:41:27 +08:00
Licson Lee
63abb9168a
Basic support for Solaris SMF as init system
2019-05-28 00:31:17 +08:00
Unitech
29a9c894a2
feat: allow pm2 startup via standalone install
2019-05-19 08:44:48 +02:00
Unitech
f8eeba9a55
feat: pm2 save --force
2019-04-24 00:46:24 +02:00
Harlen Tan
689ebc9d6e
fix pm2 unstartup fialed in macos
...
The pm2 unstartup will always failed in macos. Because the pm2.*.plist will never been deleted.
commands = [
'launchctl remove ' + launchd_service_name + ' || true',
'rm ' + destination
];
launchctl remove always return no-zero value, so rm in the next will never been executed.
2019-03-12 11:39:15 +08:00
Harlen Tan
1f53a6f957
fix spawn ps ENOENT
...
#3879
The `process.env.PATH` is not set in the PATH of plist. And the pm2 will throw command ENOENT error because of it.
2019-01-31 18:16:26 +08:00
Unitech
2bfaaca806
feature: add exponential backoff restart delay via --exp-backoff-restart-delay
2018-09-27 17:05:40 +02:00
Unitech
058ea6e2c9
parse package.json to retrieve module version running in mem + --bail on mocha.opts to fail fast
2018-09-27 15:34:02 +02:00
vince
e8ed1e510a
fix : #3896 update file path if we are reading the backup file
2018-09-18 10:46:25 +02:00
Vincent Vallet
7e92855ff5
Merge pull request #3807 from medanat/minimize-async-lib-footprint
...
Minimize async lib footprint
2018-08-17 10:23:57 +02:00
Vivien Adnot
3d0461c3e0
fixed unstartup when launchd
2018-08-17 09:44:38 +02:00
Yazan Medanat
b8b48e83f7
refactor: removes unused imports.
2018-07-19 10:18:16 -04:00
Yazan Medanat
6466ee44c1
refactor: only import the necessary methods from async.
2018-07-19 10:18:08 -04:00
Aaron Miller
fdeb0c327a
feat: add support for openbsd rc.d init scripts
2018-06-16 16:43:04 -07:00
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