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
Unitech
23f2130de0
rename CLI.js to API.js + some fix on pm2-docker command
2016-07-23 19:13:55 +02:00