Unitech
d8a6d38180
bump pm2-deploy
2020-04-14 01:03:25 +02:00
Unitech
dd3cf08f8b
pm2 init changes + chores fixes
2020-04-12 13:35:20 +02:00
Unitech
6f89f0e878
feature: pm2 create command
2019-11-04 10:07:51 +01:00
Unitech
b175a080b5
chore: fix doc links #4477
2019-10-28 13:21:03 +01:00
Alexandre Strzelewicz
4b6c12c111
Merge pull request #4285 from epgdatacapbon/development
...
Fix --wait-ip option doesn't work
2019-10-11 15:39:17 +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
89c4b9104d
Added refresh (reload) method to service file
2019-05-28 01:14:04 +08:00
Licson Lee
63abb9168a
Basic support for Solaris SMF as init system
2019-05-28 00:31:17 +08:00
epgdatacapbon
d7fb30336a
Fix --wait-ip option doesn't work
2019-05-16 23:09:25 +09: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
Unitech
cb220d8f83
template: default ecosystem with options
2018-09-19 11:58:29 +02: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
992a045227
chore: shorten ecosystem file
2018-06-13 00:14:19 +02: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
Alexandre Strzelewicz
bc55d46a1c
#3094 pm2 start app.js --container
2017-08-16 02:43:44 +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
Luis Lobo Borobia
211c4714d6
fix logrotate template ( #2814 )
...
* It should only log rotate on log files
As explained in https://github.com/Unitech/pm2/issues/2498#issuecomment-263678535 :
The logs are being saved as index-out-0.log and index-error-0.log.
If you just leave /home/user/.pm2/pm2.log /home/user/.pm2/logs/*, the first time logrotate runs, it generates index-out-0.log.1. The second time it runs it generates index-out-0.log.1.1, and it continues creating files for each file found, since you are including all files.
It should be reverted back to *.log or *log
2017-04-06 10:50:37 +02:00
Unitech
a1adf2e7a0
(template) change dbl quote to simple quote for ecosystem template
2017-03-28 22:44:22 +02:00
vmarchaud
cd4e201215
(startup) drop start timeout #2765
2017-03-16 00:44:52 +01:00
Unitech
422c16d7e8
(ecosystem tpl) fix path
2017-02-23 21:28:51 +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
Unitech
683c1ea50b
(CLI) pm2 ecosystem simple
2017-01-29 13:33:26 +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
Antoine Bluchet
bc99eac8d6
Logrotate on all files in ~/.pm2/logs
2016-11-08 08:56:51 +01:00
Unitech
9f88b486de
#2101 pm2 ecosystem now generates a javascript configuration file
2016-10-26 19:24:29 +02:00
Unitech
90e3c1f644
(docker integration) #2320 feature v1 POC (test+cmds+logic)
2016-08-14 13:21:05 +02:00
Unitech
5f9a83ed8d
refactor progress
2016-06-05 12:39:04 +02:00
Unitech
1886f73a2f
#2203 deep refactor
2016-06-04 14:04:26 +02:00